Class Grid

  • All Implemented Interfaces:

    
    public final class Grid
    extends ParticleObject
                        

    创建网格 Grid

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private Location minLoc
      private Location maxLoc
      private final Double length
    • Constructor Summary

      Constructors 
      Constructor Description
      Grid(Location minLoc, Location maxLoc, Double length)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Location getMinLoc()
      final Unit setMinLoc(Location minLoc)
      final Location getMaxLoc()
      final Unit setMaxLoc(Location maxLoc)
      final Double getLength()
      Unit show()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Grid

        Grid(Location minLoc, Location maxLoc, Double length)
        Parameters:
        minLoc - 起点
        maxLoc - 终点
        length - 网格长度