Point3d

class rhino3dm.Point3d
Point3d(x, y, z)

Initializes a new point by defining the X, Y and Z coordinates.

Parameters:
  • x (float) – The value of the X (first) coordinate.
  • y (float) – The value of the Y (second) coordinate.
  • z (float) – The value of the Z (third) coordinate.
Unset

rhino3dm.Point3d: Gets the value of a point at location RhinoMath.UnsetValue,RhinoMath.UnsetValue,RhinoMath.UnsetValue.

X

float: Gets or sets the X (first) coordinate of this point.

Y

float: Gets or sets the Y (second) coordinate of this point.

Z

float: Gets or sets the Z (third) coordinate of this point.

Encode()

[todo] add documentation

DistanceTo(other)

Computes the distance between two points.

Parameters:other (rhino3dm.Point3d) – Other point for distance measurement.
Returns:The length of the line between this and the other point; or 0 if any of the points is not valid.
Return type:float
Transform(xform)

Transforms the present point in place. The transformation matrix acts on the left of the point. i.e., result = transformation*point

Parameters:xform (Transform) – Transformation to apply.
Return type:void