To add vertices to the polyline object, refer to the base class HT_Point_Set.
HT_Point_Set, HT_Point
HT_Polyline
Purpose
HT_Polyline()
HT_Polyline(int count, HT_Point const * points)
HT_Polyline(int count, HT_Point const * points, HT_Boolean copy)
The second form creates a polyline with count points and the HT_Polyline 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 polyline 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_Polyline 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.