georegression.struct.point
Class Point3D_F32
- java.lang.Object
-
- georegression.struct.GeoTuple<T>
-
- georegression.struct.GeoTuple_F32<T>
-
- georegression.struct.GeoTuple3D_F32<Point3D_F32>
-
- georegression.struct.point.Point3D_F32
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- PlaneTangent3D_F32
public class Point3D_F32 extends GeoTuple3D_F32<Point3D_F32>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class georegression.struct.GeoTuple3D_F32
x, y, z
-
-
Constructor Summary
Constructors Constructor and Description Point3D_F32()Point3D_F32(float x, float y, float z)Point3D_F32(GeoTuple3D_F32 pt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Point3D_F32copy()Generic copy routine.Point3D_F32createNewInstance()Creates a new tuple instance of the same type.voidset(Point3D_F32 worldLoc)java.lang.StringtoString()Vector3D_F32toVector()Converts the point into a vector.-
Methods inherited from class georegression.struct.GeoTuple3D_F32
distance, distance2, getDimension, getIndex, getX, getY, getZ, isIdentical, isIdentical, isIdentical, isNaN, norm, normSq, plus, plusIP, print, scale, set, setIndex, setX, setY, setZ, times, timesIP
-
-
-
-
Constructor Detail
-
Point3D_F32
public Point3D_F32(GeoTuple3D_F32 pt)
-
Point3D_F32
public Point3D_F32(float x, float y, float z)
-
Point3D_F32
public Point3D_F32()
-
-
Method Detail
-
toVector
public Vector3D_F32 toVector()
Converts the point into a vector.- Returns:
- Vector with the same (x,y,z) values.
-
copy
public Point3D_F32 copy()
Description copied from class:GeoTuple_F32Generic copy routine. It is recommended that this be overridden with a faster implementation.- Overrides:
copyin classGeoTuple_F32<Point3D_F32>- Returns:
- An exact copy of this GeoTuple.
-
set
public void set(Point3D_F32 worldLoc)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
createNewInstance
public Point3D_F32 createNewInstance()
Description copied from class:GeoTupleCreates a new tuple instance of the same type.
- Specified by:
createNewInstancein classGeoTuple<Point3D_F32>- Returns:
- new tuple instance.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG