Uses of Class
org.evoludo.geom.Point3D

Packages that use Point3D
Package
Description
 
  • Uses of Point3D in org.evoludo.geom

    Subclasses of Point3D in org.evoludo.geom
    Modifier and Type
    Class
    Description
    class 
    Class representing a (network) node in 3D space with position and radius.
    class 
    Utility class for 3D vector manipulations.
    Methods in org.evoludo.geom that return Point3D
    Modifier and Type
    Method
    Description
    Point3D.scale(double s)
    Scale the coordinates of this 3D point by a factor s to (s*x,s*y,s*z).
    Point3D.scale(double sx, double sy, double sz)
    Scale the coordinates of this 3D point by scalar factors sx, sy and sz, respectively, to (sx*x, sy*y, sz*z).
    Point3D.set(double x, double y, double z)
    Set x-, y- and z-coordinates of the 3D point.
    Point3D.set(Point3D p)
    Set x-, y- and z-coordinates of the point to those of the 3D point p.
    Point3D.setX(double x)
    Set the x-coordinate of this 3D point.
    Point3D.setY(double y)
    Set the y-coordinate of this 3D point.
    Point3D.setZ(double z)
    Set the z-coordinate of this 3D point.
    Point3D.shake(double quake)
     
    Point3D.shift(double dx, double dy, double dz)
    Shift the 3D point by dx, dy, and dz in the x-, y-, and z-coordinates, respectively, to (x+p.x,y+p.y,z+p.z).
    Point3D.shift(Point3D p)
    Shift the 3D point by p.x, p.y, and p.z in the x-, y-, and z-coordinates, respectively, to (x+p.x,y+p.y,z+p.z).
    Methods in org.evoludo.geom with parameters of type Point3D
    Modifier and Type
    Method
    Description
    Vector3D.add(Point3D a, Point3D b)
    Add the 3D vectors a and b and store result in this vector.
    double
    Point3D.distance(Point3D q)
    Calculate the distance between the two 3D points p and q: \(\sqrt{(p.x-q.x)^2+(p.y-q.y)^2+(p.z-q.z)^2}\).
    double
    Point3D.distance2(Point3D q)
    Calculate the distance squared between the two 3D points p and q: \((p.x-q.x)^2+(p.y-q.y)^2+(p.z-q.z)^2\).
    Point3D.set(Point3D p)
    Set x-, y- and z-coordinates of the point to those of the 3D point p.
    Vector3D.set(Point3D from, Point3D to)
    Set the 3D vector pointing from from to to.
    void
    Point3D.setLocation(Point3D p)
    Compatibility method (following Point2D.setLocation(Point2D p)).
    Point3D.shift(Point3D p)
    Shift the 3D point by p.x, p.y, and p.z in the x-, y-, and z-coordinates, respectively, to (x+p.x,y+p.y,z+p.z).
    Constructors in org.evoludo.geom with parameters of type Point3D
    Modifier
    Constructor
    Description
     
    Create a copy of the 3D point p.