- All Implemented Interfaces:
javafx.animation.Interpolatable<javafx.geometry.Point3D>
public class MapPointData
extends javafx.geometry.Point3D
Convenience extension of Point3D to easily get 2D points.
- Author:
- Doug Gillespie
-
Field Summary 
Fields inherited from class javafx.geometry.Point3D 
ZERO
-
Constructor Summary 
Constructors
-
Method Summary 
javafx.geometry.Point2D
Convert a 3D point to a 2D point
Methods inherited from class javafx.geometry.Point3D 
add, add, angle, angle, angle, crossProduct, crossProduct, distance, distance, dotProduct, dotProduct, equals, getX, getY, getZ, hashCode, interpolate, magnitude, midpoint, midpoint, multiply, normalize, subtract, subtract, toString
-
Constructor Details 
-
MapPointData 
public MapPointData(double x,
double y,
double z)
-
Method Details 
-
toPoint2D 
public javafx.geometry.Point2D toPoint2D()
Convert a 3D point to a 2D point
- Returns:
- 2D point.