georegression.struct.point
Class Point2D_F32
- java.lang.Object
-
- georegression.struct.GeoTuple<T>
-
- georegression.struct.GeoTuple_F32<T>
-
- georegression.struct.GeoTuple2D_F32<Point2D_F32>
-
- georegression.struct.point.Point2D_F32
-
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- Edgel
public class Point2D_F32 extends GeoTuple2D_F32<Point2D_F32>
A point in 2D- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class georegression.struct.GeoTuple2D_F32
x, y
-
-
Constructor Summary
Constructors Constructor and Description Point2D_F32()Point2D_F32(float x, float y)Point2D_F32(GeoTuple2D_F32 orig)Point2D_F32(Point2D_F32 pt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Point2D_F32copy()Generic copy routine.Point2D_F32createNewInstance()Creates a new tuple instance of the same type.voidset(Point2D_F32 orig)java.lang.StringtoString()-
Methods inherited from class georegression.struct.GeoTuple2D_F32
distance, distance, distance2, distance2, getDimension, getIndex, getX, getY, isIdentical, isIdentical, isIdentical, norm, normSq, plus, plusIP, print, scale, set, setIndex, setX, setY, times, timesIP
-
-
-
-
Constructor Detail
-
Point2D_F32
public Point2D_F32(GeoTuple2D_F32 orig)
-
Point2D_F32
public Point2D_F32(float x, float y)
-
Point2D_F32
public Point2D_F32()
-
Point2D_F32
public Point2D_F32(Point2D_F32 pt)
-
-
Method Detail
-
createNewInstance
public Point2D_F32 createNewInstance()
Description copied from class:GeoTupleCreates a new tuple instance of the same type.
- Specified by:
createNewInstancein classGeoTuple<Point2D_F32>- Returns:
- new tuple instance.
-
set
public void set(Point2D_F32 orig)
-
copy
public Point2D_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<Point2D_F32>- 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