georegression.struct.point
Class Point3D_I32
- java.lang.Object
-
- georegression.struct.GeoTuple<Point3D_I32>
-
- georegression.struct.point.Point3D_I32
-
- All Implemented Interfaces:
- java.io.Serializable
public class Point3D_I32 extends GeoTuple<Point3D_I32>
Point in 3D with integer values.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Point3D_I32()Point3D_I32(int x, int y, int z)Point3D_I32(Point3D_I32 pt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Point3D_I32copy()Generic copy routine.Point3D_I32createNewInstance()Creates a new tuple instance of the same type.intgetDimension()The dimensionality of space the tuple is contained in and the number of values it has.intgetX()intgetY()intgetZ()booleanisIdentical(Point3D_I32 p)voidset(int x, int y, int z)voidset(Point3D_I32 p)voidsetX(int x)voidsetY(int y)voidsetZ(int z)java.lang.StringtoString()
-
-
-
Constructor Detail
-
Point3D_I32
public Point3D_I32(Point3D_I32 pt)
-
Point3D_I32
public Point3D_I32(int x, int y, int z)
-
Point3D_I32
public Point3D_I32()
-
-
Method Detail
-
copy
public Point3D_I32 copy()
Description copied from class:GeoTupleGeneric copy routine. It is recommended that this be overridden with a faster implementation.- Specified by:
copyin classGeoTuple<Point3D_I32>- Returns:
- An exact copy of this GeoTuple.
-
set
public void set(int x, int y, int z)
-
set
public void set(Point3D_I32 p)
-
isIdentical
public boolean isIdentical(Point3D_I32 p)
-
getX
public int getX()
-
setX
public void setX(int x)
-
getY
public int getY()
-
setY
public void setY(int y)
-
getZ
public int getZ()
-
setZ
public void setZ(int z)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
getDimension
public int getDimension()
Description copied from class:GeoTupleThe dimensionality of space the tuple is contained in and the number of values it has.- Specified by:
getDimensionin classGeoTuple<Point3D_I32>- Returns:
- Dimensionality of the object.
-
createNewInstance
public Point3D_I32 createNewInstance()
Description copied from class:GeoTupleCreates a new tuple instance of the same type.
- Specified by:
createNewInstancein classGeoTuple<Point3D_I32>- Returns:
- new tuple instance.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG