sgC2DObject

 

The sgC2DObject class is a base class for all the objects which can be approximated by an array of line segments. Strictly speaking objects of this class can not be flat (in spite of the class name - sgC2DObject), for example, splines or contours. This class is intended to differ these objects from the ones which can be approximated by a triangles array (sgC3DObject).

Such algorythms of building complex 3D objects accept the objects of this class.

 

All the objects inherited from sgC2DObject support the following methods:

IsClosed

IsPlane

IsLinear

IsSelfIntersecting

GetEquidistantContour

GetOrient

ChangeOrient

GetPointFromCoefficient

IsObjectsOnOnePlane

IsObjectsIntersecting

IsFirstObjectInsideSecondObject