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

    Fields inherited from class javafx.geometry.Point3D

    ZERO
  • Constructor Summary

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

    Modifier and Type
    Method
    Description
    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

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • 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.