extend Point with a Z-axis.
Usage: var Point:Point3D = new com.sekati.geom.Point3D(10,10,50);
new Point3D()
public function isEqual(p:Point3D):Boolean
check if two 3D points match
p | (Point3D) |
Boolean
isEqual() in com.sekati.geom.IPoint
public function getZDistance(p:Point3D):Number
get Z distance between two points
p | (Point3D) |
Number
public function displace(nX:Number, nY:Number, nZ:Number):Point3D
Returns a new 3D point based on this point with x and y offset values
nX | (Number) |
nY | (Number) |
nZ | (Number) |
Point3D
displace() in com.sekati.geom.IPoint
public function offset(x:Number, y:Number, z:Number):Void
Offset the Point3D object by a specified amount.
x | (Number) horizontal offset |
y | (Number) vertical offset |
z | (Number) z-axis offset |
Void
offset() in com.sekati.geom.IPoint
public function clone():Point3D