Examples of working with the sgCore library.
In this section the examples realized in the demo application (Demo.exe) are analyzed.
Here you can find only objects creation methods. One of the examples of drawing objects is given in the source code of the Demo.exe application (the Painter class).
Clicking an image of the necessary example you will open the detailed description how to create it (C++ program):
Points |
|
Line segments |
|
Circles
|
|
Arcs |
|
Splines |
|
Contours |
|
Equidistant line |
|
Boxes |
|
|
Spheres
|
Cylinder |
|
Cones |
|
Toruses |
|
Ellipsoids |
|
Spherical band |
|
Boolean intersection |
|
Boolean uniting |
|
Boolean subtraction |
|
Intersection contours |
|
Clips by planes |
|
Revolved surface |
|
Revolved solids |
|
Surfaces of extrusion |
|
Solids of extrusion |
|
Spiral surfaces |
|
Spiral solids |
|
Pipe-like surfaces |
|
Pipe-like solids |
|
Meshes |
|
Flat faces with holes |
|
Coons surfaces by three boundary contours |
|
Coons surfaces by four boundary contours |
|
Ruled surfaces by two clips |
|
Spline surfaces by clips |
|
Spline solids by clips |
|
Room |
|
Drills |
|
Clock |