georegression.struct.point
Class Point2D_I16
- java.lang.Object
-
- georegression.struct.GeoTuple<Point2D_I16>
-
- georegression.struct.point.Point2D_I16
-
- All Implemented Interfaces:
- java.io.Serializable
public class Point2D_I16 extends GeoTuple<Point2D_I16>
A point in 2D composed of shorts- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Point2D_I16()Point2D_I16(Point2D_I16 orig)Point2D_I16(short x, short y)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Point2D_I16copy()Generic copy routine.Point2D_I16createNewInstance()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()voidset(int x, int y)voidset(Point2D_I16 pt)voidsetX(int x)voidsetY(int y)java.lang.StringtoString()
-
-
-
Constructor Detail
-
Point2D_I16
public Point2D_I16(short x, short y)
-
Point2D_I16
public Point2D_I16(Point2D_I16 orig)
-
Point2D_I16
public Point2D_I16()
-
-
Method Detail
-
set
public void set(Point2D_I16 pt)
-
set
public void set(int x, int y)
-
setX
public void setX(int x)
-
setY
public void setY(int y)
-
getX
public final int getX()
-
getY
public final int getY()
-
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<Point2D_I16>- Returns:
- Dimensionality of the object.
-
createNewInstance
public Point2D_I16 createNewInstance()
Description copied from class:GeoTupleCreates a new tuple instance of the same type.
- Specified by:
createNewInstancein classGeoTuple<Point2D_I16>- Returns:
- new tuple instance.
-
copy
public Point2D_I16 copy()
Description copied from class:GeoTupleGeneric copy routine. It is recommended that this be overridden with a faster implementation.- Specified by:
copyin classGeoTuple<Point2D_I16>- Returns:
- An exact copy of this GeoTuple.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-
DataMelt 3.0 © DataMelt by jWork.ORG