Documentation of 'math.geom3d.Point3D' Java class
Point3D
math.geom3d

Class Point3D

  • All Implemented Interfaces:
    Shape3D


    public class Point3D
    extends java.lang.Object
    implements Shape3D
    • Constructor Detail

      • Point3D

        public Point3D()
        Initialize at coordinate (0,0,0).
      • Point3D

        public Point3D(double x,
                       double y,
                       double z)
    • Method Detail

      • getX

        public double getX()
      • getY

        public double getY()
      • getZ

        public double getZ()
      • distance

        public double distance(Point3D point)
        Description copied from interface: Shape3D
        Gets the distance of the shape to the given point, or the distance of point to the frontier of the shape in the case of a plain shape.
        Specified by:
        distance in interface Shape3D
      • contains

        public boolean contains(Point3D point)
        A point 'contains' another point if their euclidean distance is less than the accuracy.
        Specified by:
        contains in interface Shape3D
      • isEmpty

        public boolean isEmpty()
        Returns false, as a point is never empty.
        Specified by:
        isEmpty in interface Shape3D
      • isBounded

        public boolean isBounded()
        Returns true, as a point is always bounded.
        Specified by:
        isBounded in interface Shape3D
      • clip

        public PointSet3D clip(Box3D box)
        Returns the clipped point, or null if empty.
        Specified by:
        clip in interface Shape3D
      • equals

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.