Point3dList

class rhino3dm.Point3dList
Point3dList()

Point3dList constructor

Point3dList(initialCapacity)

Initializes a new point list with a preallocated initial capacity.

Parameters:

initialCapacity (int) – The number of added items before which the underlying array will be resized.

Point3dList()

Point3dList constructor

Capacity
Count
BoundingBox

rhino3dm.BoundingBox: Even though this is a property, it is not a “fast” calculation. Every point is evaluated in order to get the bounding box of the list.

__len__()

[todo] add documentation

__getitem__()

[todo] add documentation

__setitem__()

[todo] add documentation

Clear()

[todo] add documentation

Insert(index, item)

[todo] add documentation

RemoveAt(index)

[todo] add documentation

Add(x, y, z)

Adds a Point3d to the end of the list with given x,y,z coordinates.

Parameters:
  • x (float) – The X coordinate.

  • y (float) – The Y coordinate.

  • z (float) – The Z coordinate.

Return type:

void

Transform(xform)

Applies a transform to all the points in the list.

Parameters:

xform (Transform) – Transform to apply.

Return type:

void

SetAllX(x)

Set all the X values for the points to a single value

Return type:

void

SetAllY(y)

Set all the Y values for the points to a single value

Return type:

void

SetAllZ(z)

Set all the Z values for the points to a single value

Return type:

void

Append(points)

[todo] add documentation