sgCObject

 

sgCObject is a base class for all geometrical objects of sgCore. Each object has its attributes (a color number in the palette, lines thickness, lines types, a way to display the object), the status (selected/not selected), name, pointer to the parent object. Each object stores its geometry (system or specified by a user). If the object has a user-defined geometry a corresponding identifier to this geometry is stored in the object (the GUID string 39 characters long).

 

One of the main concepts is the system object type.

 

 

System object type is an internal library category and each geometrical object belongs to one of the following types:

point

line segment

circle

arc

spline

contour

text

size

group

3D object

The library user is unable to change the object type.

 

See also:

Objects hierarchy   sgCObject methods