Package com.esri.core.geometry
Class Point3D
- java.lang.Object
-
- com.esri.core.geometry.Point3D
-
- All Implemented Interfaces:
java.io.Serializable
public final class Point3D extends java.lang.Object implements java.io.SerializableBasic 3D point class.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUIDdoublexdoubleydoublez
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) boolean_isNan()(package private) void_setNan()static Point3Dconstruct(double x, double y, double z)doubledotProduct(Point3D other)booleanequals(Point3D other)booleanequals(java.lang.Object other_)inthashCode()doublelength()voidmul(double factor)voidnormalize()voidscale(double f, Point3D other)voidsetCoords(double x, double y, double z)voidsetCoords(Point3D other)voidsetZero()doublesqrLength()voidsub(Point3D other)voidsub(Point3D p1, Point3D p2)
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
x
public double x
-
y
public double y
-
z
public double z
-
-
Constructor Detail
-
Point3D
public Point3D()
-
Point3D
public Point3D(Point3D other)
-
Point3D
public Point3D(double x, double y, double z)
-
-
Method Detail
-
construct
public static Point3D construct(double x, double y, double z)
-
setCoords
public void setCoords(double x, double y, double z)
-
setCoords
public void setCoords(Point3D other)
-
setZero
public void setZero()
-
normalize
public void normalize()
-
dotProduct
public double dotProduct(Point3D other)
-
sqrLength
public double sqrLength()
-
length
public double length()
-
sub
public void sub(Point3D other)
-
scale
public void scale(double f, Point3D other)
-
mul
public void mul(double factor)
-
_setNan
void _setNan()
-
_isNan
boolean _isNan()
-
equals
public boolean equals(Point3D other)
-
equals
public boolean equals(java.lang.Object other_)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-