This module provides the following dynamic array classes:
Single precision variants are also available. Simply prefix these class names with "Float" to use them.
This class provides a dynamically allocated array of Dir2d objects.
This class has the following constant data members:
Dir2dArray.kElementClass -> The class of the elements contained in this array, in this case Dir2d.
This class has the following construction methods:
Dir2dArray (numElements)
numElements -> integer
Constructs a new array of the given number of uninitialized vectors.
Returns the new array.
Dir2dArray (array)
array -> Dir2dArray
Constructs a new array sharing the same storage with the given array.
Returns the new array.
Every instance of this class has the following member methods:
Dir2dArray:Clone ()
Returns a newly allocated copy of this array.
Dir2dArray:GetSize ()
Returns the number of Dir2d elements in this array.
Dir2dArray:GetItem (index)
index -> integer
Returns the Dir2d element at the given index of this array.
Dir2dArray:SetItem (index, item)
index -> integer
item -> Dir2d
Sets the element at the given index of this array.
Returns this modified array object as a convenience for chaining calls.
This class provides a dynamically allocated array of Dir3d objects.
This class has the following constant data members:
Dir3dArray.kElementClass -> The class of the elements contained in this array, in this case Dir3d.
This class has the following construction methods:
Dir3dArray (numElements)
numElements -> integer
Constructs a new array of the given number of uninitialized vectors.
Returns the new array.
Dir3dArray (array)
array -> Dir3dArray
Constructs a new array sharing the same storage with the given array.
Returns the new array.
Every instance of this class has the following member methods:
Dir3dArray:Clone ()
Returns a newly allocated copy of this array.
Dir3dArray:GetSize ()
Returns the number of Dir3d elements in this array.
Dir3dArray:GetItem (index)
index -> integer
Returns the Dir3d element at the given index of this array.
Dir3dArray:SetItem (index, item)
Sets the element at the given index of this array.
Returns this modified array object as a convenience for chaining calls.
index -> integer
item -> Dir3d
This class provides a dynamically allocated array of Point2d objects.
This class has the following constant data members:
Point2dArray.kElementClass -> The class of the elements contained in this array, in this case Point2d.
This class has the following construction methods:
Point2dArray (numElements)
numElements -> integer
Constructs a new array of the given number of uninitialized points.
Returns the new array.
Point2dArray (array)
array -> Point2dArray
Constructs a new array sharing the same storage with the given array.
Returns the new array.
Every instance of this class has the following member methods:
Point2dArray:Clone ()
Returns a newly allocated copy of this array.
Point2dArray:GetSize ()
Returns the number of Point2d elements in this array.
Point2dArray:GetItem (index)
index -> integer
Returns the Point2d element at the given index of this array.
Point2dArray:SetItem (index, item)
index -> integer
item -> Point2d
Sets the element at the given index of this array.
Returns this modified array object as a convenience for chaining calls.
This class provides a dynamically allocated array of Point3d objects.
This class has the following constant data members:
Point3dArray.kElementClass -> The class of the elements contained in this array, in this case Point3d.
This class has the following construction methods:
Point3dArray (numElements)
numElements -> integer
Constructs a new array of the given number of uninitialized points.
Returns the new array.
Point3dArray (array)
array -> Point3dArray
Constructs a new array sharing the same storage with the given array.
Returns the new array.
Every instance of this class has the following member methods:
Point3dArray:Clone ()
Returns a newly allocated copy of this array.
Point3dArray:GetSize ()
Returns the number of Point3d elements in this array.
Point3dArray:GetItem (index)
index -> integer
Returns the Point3d element at the given index of this array.
Point3dArray:SetItem (index, item)
index -> integer
item -> Point3d
Sets the element at the given index of this array.
Returns this modified array object as a convenience for chaining calls.