Library | File

Class pfcOutline2D

# include <pfcBase.h>

class pfcOutline2D
 : public xobject
{
    xdeclare(pfcOutline2D)
    ...
};
This is a COMPACT class.



Description

A 2x1 array that stores a two-dimensional outline.

Array provides methods for accessing its elemnts by index(indices) and for modifying its elements. Array object "does not know" its dimentions.
Manual References:
Overview of Creo Object TOOLKIT C++: Array Classes, Element Trees: Sections: Section Entities, Element Trees: Sections: Section Entities

Array Dimensions: [2]



Method Summary

static pfcOutline2D *create ()
Creates new array object with uninitialized elements.
pfcPoint2D_ptrget (xint idx0)
Gets an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.
voidset (xint idx0, pfcPoint2D_ptr value)
Assignes a new value to an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.



Method Detail

pfcPoint2D_ptrget (xint idx0)

Gets an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.
Parameters:
idx0
First element index.
Returns:
Element value.



voidset (xint idx0, pfcPoint2D_ptr value)

Assignes a new value to an array element with the specified index(indices). If an index is out of range throws exception cipXInvalidArrayIndex.
Parameters:
idx0
First element index.
value
New element value.
Returns:



static pfcOutline2D *create ()

Creates new array object with uninitialized elements.
Returns:
Created array.