Package map3D.fx

Class MapPointData

java.lang.Object
javafx.geometry.Point3D
map3D.fx.MapPointData
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 Link icon

    Fields inherited from class javafx.geometry.Point3D Link icon

    ZERO
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    MapPointData(double x, double y, double z)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    javafx.geometry.Point2D
    Convert a 3D point to a 2D point

    Methods inherited from class javafx.geometry.Point3D Link icon

    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

    Methods inherited from class java.lang.Object Link icon

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details Link icon

    • MapPointData Link icon

      public MapPointData(double x, double y, double z)
  • Method Details Link icon

    • toPoint2D Link icon

      public javafx.geometry.Point2D toPoint2D()
      Convert a 3D point to a 2D point
      Returns:
      2D point.