Point Arrays

IGPoint2DArray handles arrays of IGPoint2Ds and is the basis for IGPolyline2D and IGPolygon2D. IGRPoint2DArray handles arrays of IGRPoint2Ds and is the basis for IGCurve2D and IGLoop2D). The point array member functions are summarized here:

IGPoint2DArray

IGRPoint2DArray

IGPoint2DArrays are used to store and manipulate linear arrays of points (IGPoint2D and IGRPoint2D). They are designed to be efficient, compact and simple. These arrays are subclasses of IRawArray templates instantiated with the appropriate points. IRawArray does not call the constructor for each element of an array, thus improving performance.

You can create rational IGRPoint2DArray from an IGPoint2DArray (with all the w's defaulting to 1.0). The reverse is not true, however, because an explicit projection is required.