Objects

 

The Object concept alongside with Geometry is the main concept of sgCore. When geometry is an accurate mathematical description object is an approximation for reflecting the possibility on a computer screen. All the operations in sgCore are made with objects not with geometries.

 

A two-dimensional object (in 3D) is just a number of line segments in sgCore. A three-dimensional object is a number of triangles.

 

Unlike the geometry concept which is all-sufficient the object concept is not all-sufficient and directly depends on its basic geometry. We can always get an object with the given accuracy by geometry. That is why each sgCore object stores its own geometry.

 

The objects are divided into the following classes by a type of the realized geometry:

 

Objects classes hierarchy

ierarh14