Package georegression.struct.point
Class Point2D_F32
- All Implemented Interfaces:
Serializable
@Generated("georegression.struct.point.Point2D_F64")
public class Point2D_F32
extends GeoTuple2D_F32<Point2D_F32>
A point in 2D
- See Also:
-
Field Summary
Fields inherited from class georegression.struct.GeoTuple2D_F32
x, y -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncopy()Generic copy routine.Creates a new tuple instance of the same type.setTo(Point2D_F32 src) Sets this equal to 'src'toString()Methods inherited from class georegression.struct.GeoTuple2D_F32
_setTo, distance, distance, distance2, distance2, equals, getDimension, getIdx, hashCode, isIdentical, isIdentical, isIdentical, isNaN, norm, normSq, plus, plusIP, print, scale, setIdx, setTo, times, timesIP, toString, zeroMethods inherited from class georegression.struct.GeoTuple_F32
isInfinite
-
Constructor Details
-
Point2D_F32
-
Point2D_F32
public Point2D_F32(float x, float y) -
Point2D_F32
public Point2D_F32() -
Point2D_F32
-
-
Method Details
-
setTo
Description copied from class:GeoTupleSets this equal to 'src'- Overrides:
setToin classGeoTuple2D_F32<Point2D_F32>- Parameters:
src- The tuple being copied- Returns:
- Reference to 'this' class instance. Used to chain operations.
-
createNewInstance
Description copied from class:GeoTupleCreates a new tuple instance of the same type.
- Specified by:
createNewInstancein classGeoTuple<Point2D_F32>- Returns:
- new tuple instance.
-
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
-