HT_Point
count
points
HT_Point_Set
~HT_Point_Set
Purpose
int count()
Purpose
HT_Point_Set()
HT_Point_Set(int count, HT_Point const * points)
HT_Point_Set(int count, HT_Point const * points, HT_Boolean copy)
The second form creates a point set with count points. The HT_Point_Set object refers to the array points for the point definitions. In this case, no additional storage allocation is required to hold the points.
The third form creates a point set and allocates storage for count points. If the copy parameter is HK_True, then the constructor copies the points from the array points into the HT_Point_Set object. This form only allocates storage if either copy == HK_True or points is null. If copy is false and points is a valid pointer, no memory is allocated¾ similar to the second form.
Note: This information is applicable to all of the Point_Set derived classes as well¾ if points is null and count is >0, then count points will be allocated.
Purpose
~HT_Point_Set()
Purpose
HT_Point const * points()