Access keys

# Point3d

Kind of class: class Point < CoreObject 11/10/06 Aaron Clinger org.casaframework.math.geom.Point3d Monday, 08 January 2007, 09:57:51
Stores location of a point in a three-dimensional coordinate system, where x represents the horizontal axis, y represents the vertical axis, z represents the axis that is vertically perpendicular to the xy axes or depth.

## Summary

Constructor
Instance properties
Instance properties inherited from Point
\$x, \$y
Instance properties inherited from CoreObject
Class methods
Class methods inherited from Point
Instance methods
Instance methods inherited from Point
Instance methods inherited from CoreObject

## Constructor

### Point3d

function Point3d (
x:Number, y:Number, z:Number)
Creates 3d point object.
Parameters:
x:
The horizontal coordinate of the point.
y:
The vertical coordinate of the point.
z:
The depth coordinate of the point.

## Class methods

### distance

static function distance (
firstPoint:Point3d, secondPoint:Point3d) : Number
Determines the distance between the first and second points in 3D space.
Parameters:
firstPoint:
The first point.@parem secondPoint: The second point.

## Instance methods

### clone

function clone (
Returns:
A new point object with the same values as this point.

### destroy

function destroy (
) : Void
Overrides:

### equals

function equals (
pointObject:Point3d) : Boolean
Determines whether the point specified in the `pointObject` parameter is equal to this point object.
Parameters:
pointObject:
A defined Point3d object.
Returns:
Returns `true` if shape's location is identical; otherwise `false`.

function getZ (
) : Number
Returns:
The Z position.

### offset

function offset (
x:Number, y:Number, z:Number) : Void
Offsets the Point object by the specified amount.
@parem x: The amount by which to offset the horizontal coordinate.
Parameters:
y:
The amount by which to offset the vertical coordinate.
z:
The amount by which to offset the depth coordinate.

### setZ

function setZ (
z:Number) : Void
Sets the Z coordinate.
Parameters:
z:
The depth coordinate of the point.