Point3dList

Point3dList

Represents a list of .

Constructor

new Point3dList(initialCapacity)

Initializes a new point list with a preallocated initial capacity.
Parameters:
Name Type Description
initialCapacity int The number of added items before which the underlying array will be resized.

Members

boundingBox :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.
Type:

capacity

count

Methods

add(x, y, z)

Adds a Point3d to the end of the list with given x,y,z coordinates.
Parameters:
Name Type Description
x double The X coordinate.
y double The Y coordinate.
z double The Z coordinate.

clear()

...

get()

...

insert()

...

removeAt()

...

set()

...

setAllX()

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

setAllY()

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

setAllZ()

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

transform(xform)

Applies a transform to all the points in the list.
Parameters:
Name Type Description
xform Transform Transform to apply.