Uses of Class
org.evoludo.geom.Point3D
Packages that use Point3D
-
Uses of Point3D in org.evoludo.geom
Subclasses of Point3D in org.evoludo.geomModifier and TypeClassDescriptionclass
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 Point3DModifier and TypeMethodDescriptionPoint3D.scale
(double s) Scale the coordinates of this 3D point by a factors
to(s*x,s*y,s*z)
.Point3D.scale
(double sx, double sy, double sz) Scale the coordinates of this 3D point by scalar factorssx
,sy
andsz
, respectively, to(sx*x, sy*y, sz*z)
.Point3D.set
(double x, double y, double z) Setx
-,y
- andz
-coordinates of the 3D point.Setx
-,y
- andz
-coordinates of the point to those of the 3D pointp
.Point3D.setX
(double x) Set thex
-coordinate of this 3D point.Point3D.setY
(double y) Set they
-coordinate of this 3D point.Point3D.setZ
(double z) Set thez
-coordinate of this 3D point.Point3D.shake
(double quake) Point3D.shift
(double dx, double dy, double dz) Shift the 3D point bydx
,dy
, anddz
in thex
-,y
-, andz
-coordinates, respectively, to(x+p.x,y+p.y,z+p.z)
.Shift the 3D point byp.x
,p.y
, andp.z
in thex
-,y
-, andz
-coordinates, respectively, to(x+p.x,y+p.y,z+p.z)
.Methods in org.evoludo.geom with parameters of type Point3DModifier and TypeMethodDescriptionAdd the 3D vectorsa
andb
and store result in this vector.double
Calculate the distance between the two 3D pointsp
andq
: \(\sqrt{(p.x-q.x)^2+(p.y-q.y)^2+(p.z-q.z)^2}\).double
Calculate the distance squared between the two 3D pointsp
andq
: \((p.x-q.x)^2+(p.y-q.y)^2+(p.z-q.z)^2\).Setx
-,y
- andz
-coordinates of the point to those of the 3D pointp
.Set the 3D vector pointing fromfrom
toto
.void
Point3D.setLocation
(Point3D p) Compatibility method (followingPoint2D.setLocation(Point2D p)
).Shift the 3D point byp.x
,p.y
, andp.z
in thex
-,y
-, andz
-coordinates, respectively, to(x+p.x,y+p.y,z+p.z)
.Constructors in org.evoludo.geom with parameters of type Point3D