Package org.web3d.util.spatial
Class TunnelRegion
java.lang.Object
org.web3d.util.spatial.TunnelRegion
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionTunnelRegion
(TunnelRegion.Axis dir, int loc1, int loc2, int height) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare this object for equality to the given object.boolean
equals
(TunnelRegion ta) Compares this object with the specified object to check for equivalence.getDir()
Get the directionint
Get the heightint
getLoc1()
Get the location1int
getLoc2()
Get the location2int
hashCode()
toString()
-
Constructor Details
-
TunnelRegion
Constructor.- Parameters:
dir
- The axis of the sliceloc1
- The location in grid coordinatesloc2
- The location in grid coordinatesheight
- The number of cells high
-
-
Method Details
-
getDir
-
getLoc1
public int getLoc1()Get the location1- Returns:
- the value
-
getLoc2
public int getLoc2()Get the location2- Returns:
- the value
-
getHeight
public int getHeight()Get the height- Returns:
- the value
-
equals
-
equals
Compares this object with the specified object to check for equivalence.- Parameters:
ta
- The geometry instance to be compared- Returns:
- true if the objects represent identical values
-
hashCode
-
toString
-