In RhinoScript, 3-D points are represented as zero-based, one-dimensional arrays that contain three numbers. These three number represent to the X, Y and Z coordinate values of the point.

A 3-D point can be constructed in a number of different ways. For example,

Dim arrPoint1, arrPoint2(2)

arrPoint1 = Array(1.0, 2.0, 3.0)

arrPoint2(0) = 1.0

arrPoint2(1) = 2.0

arrPoint2(2) = 3.0

Like 3-D points, RhinoScript represents a single 2-D point as zero-based, one-dimensional array. The difference being that 2-D points contain only X and Y coordinate values.

RhinoScript contains a number of methods to manipulate points. See Points and Vectors for details.