georegression.struct
Class GeoTuple<T extends GeoTuple>
- java.lang.Object
-
- georegression.struct.GeoTuple<T>
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- GeoTuple_F32, GeoTuple_F64, Point2D_I16, Point2D_I32, Point3D_I32
public abstract class GeoTuple<T extends GeoTuple> extends java.lang.Object implements java.io.SerializableDescribes geometric objects that are composed of N double values. Where N is the dimension of space the object is contained in. Points and vectors are two examples of a GeoTuple. Each value is the value of the object along a dimension in the space it occupies.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description GeoTuple()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract Tcopy()Generic copy routine.abstract TcreateNewInstance()Creates a new tuple instance of the same type.abstract intgetDimension()The dimensionality of space the tuple is contained in and the number of values it has.
-
-
-
Method Detail
-
getDimension
public abstract int getDimension()
The dimensionality of space the tuple is contained in and the number of values it has.- Returns:
- Dimensionality of the object.
-
createNewInstance
public abstract T createNewInstance()
Creates a new tuple instance of the same type.
- Returns:
- new tuple instance.
-
copy
public abstract T copy()
Generic copy routine. It is recommended that this be overridden with a faster implementation.- Returns:
- An exact copy of this GeoTuple.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG