• Introduction
  • Work with sgCore
  • Functions
    • sgInitKernel
    • sgFreeKernel
    • sgGetVersion
    • sgGetLastError
  • Geometries
    • SG_POINT
    • SG_VECTOR
    • SG_LINE
    • SG_CIRCLE
    • SG_ARC
    • SG_SPLINE
    • SG_BOX
    • SG_SPHERE
    • SG_CYLINDER
    • SG_CONE
    • SG_TORUS
    • SG_ELLIPSOID
    • SG_SPHERIC_BAND
    • Additional types
      • SG_DRAW_LINE_FUNC
  • Objects
    • sgCObject
      • Methods
        • Clone
        • GetType
        • SetUserGeometry
        • GetUserGeometry
        • GetUserGeometryID
        • SetUserDynamicData
        • GetUserDynamicData
        • GetAttribute
        • SetAttribute
        • GetName
        • SetName
        • GetParent
        • GetGabarits
        • Select
        • IsSelect
        • IsAttachedToScene
        • InitTempMatrix
        • DestroyTempMatrix
        • GetTempMatrix
        • ApplyTempMatrix
        • DeleteObject
      • sgCPoint
        • Create
        • GetGeometry
      • sgC2DObject
        • Methods
          • IsClosed
          • IsPlane
          • IsLinear
          • IsSelfIntersecting
          • GetEquidistantContour
          • GetOrient
          • ChangeOrient
          • GetPointFromCoefficient
          • IsObjectsOnOnePlane
          • IsObjectsIntersecting
          • IsFirstObjectInsideSecondObject
        • sgCLine
          • Create
          • GetGeometry
          • IsClosed
          • IsPlane
          • IsLinear
          • IsSelfIntersecting
        • sgCCircle
          • Create
          • GetGeometry
          • GetPointsCount
          • GetPoints
          • IsClosed
          • IsPlane
          • IsLinear
          • IsSelfIntersecting
        • sgCArc
          • Create
          • GetGeometry
          • GetPointsCount
          • GetPoints
          • IsClosed
          • IsPlane
          • IsLinear
          • IsSelfIntersecting
        • sgCSpline
          • Create
          • GetGeometry
          • IsClosed
          • IsPlane
          • IsLinear
          • IsSelfIntersecting
        • sgCContour
          • CreateContour
          • BreakContour
          • GetChildrenList
          • IsClosed
          • IsPlane
          • IsLinear
          • IsSelfIntersecting
        • Additional types
          • SG_2D_OBJECT_ORIENT
      • sgC3DObject
        • Methods
          • Get3DObjectType
          • AutoTriangulate
          • Triangulate
          • GetTriangles
          • GetWorldMatrixData
          • SetMaterial
          • GetMaterial
          • GetVolume
          • GetSquare
        • sgCBox
          • Create
          • GetGeometry
        • sgCSphere
          • Create
          • GetGeometry
        • sgCCylinder
          • Create
          • GetGeometry
        • sgCCone
          • Create
          • GetGeometry
        • sgCTorus
          • Create
          • GetGeometry
        • sgCEllipsoid
          • Create
          • GetGeometry
        • sgCSphericBand
          • Create
          • GetGeometry
        • Additional types
          • SG_TRIANGULATION_TYPE
          • sgCBRepPiece
            • Methods
              • GetLocalGabarits
              • GetVertexes
              • GetVertexesCount
              • GetEdges
              • GetEdgesCount
              • GetTrianglesRange
          • SgCBRep
            • Methods
              • GetPiecesCount
              • GetPiece
      • sgCGroup
        • CreateGroup
        • BreakGroup
        • GetChildrenList
    • Additional types
      • SG_OBJECT_TYPE
      • IObjectsList
      • SG_USER_DYNAMIC_DATA
  • sgCMatrix
    • Constructor and destructor
    • operator=
    • SetMatrix
    • GetData
    • GetTransparentData
    • Identity
    • Transparent
    • Inverse
    • Multiply
    • Translate
    • Rotate
    • VectorToZAxe
    • ApplyMatrixToVector
    • ApplyMatrixToPoint
  • sgSpaceMath
    • IsPointsOnOneLine
    • PointsDistance
    • NormalVector
    • VectorsAdd
    • VectorsSub
    • VectorsScalarMult
    • VectorsVectorMult
    • ProjectPointToLineAndGetDist
    • IntersectPlaneAndLine
    • IsSegmentsIntersecting
    • PlaneFromPoints
    • PlaneFromNormalAndPoint
    • GetPlanePointDistance
  • sgCScene
    • GetScene
    • GetObjectsList
    • GetSelectedObjectsList
    • AttachObject
    • DetachObject
    • StartUndoGroup
    • EndUndoGroup
    • IsUndoStackEmpty
    • IsRedoStackEmpty
    • Undo
    • Redo
    • Clear
    • GetGabarits
  • Algorithms
    • sgBoolean
      • Intersection
      • Union
      • Sub
      • IntersectionContour
      • Section
    • sgKinematic
      • Rotation
      • Extrude
      • Spiral
      • Pipe
    • sgSurfaces
      • Face
      • Coons
      • Mesh
      • SewSurfaces
      • LinearSurfaceFromSections
      • SplineSurfaceFromSections
  • sgCFont
    • LoadFont
    • UnloadFont
    • GetFontData
  • sgFontManager
    • AttachFont
    • GetFontsCount
    • GetFont
    • SetCurrentFont
    • GetCurrentFont
  • sgCText
    • Create
    • Draw
    • GetLines
    • GetLinesCount
    • GetStyle
    • GetText
    • GetFont
    • GetWorldMatrix
  • sgCDimensions
    • Create
    • Draw
    • GetLines
    • GetLinesCount
    • GetFormedPoints
    • GetType
    • GetStyle
    • GetText
    • GetFont
  • sgFileManager
    • Save
    • GetFileHeader
    • GetUserData
    • Open
    • ExportDXF
    • ImportDXF
    • ExportSTL
    • ImportSTL
    • ObjectToBitArray
    • BitArrayToObject
    • ObjectFromTriangles
  • Memory manager
  • Examples
    • Primitives
      • Points
      • Line segments
      • Circles
      • Arcs
      • Splines
      • Contours
      • Equidistant lines
      • Boxes
      • Spheres
      • Cylinders
      • Cones
      • Toruses
      • Ellipsoids
      • Spherical bands
    • Boolean operations
      • Intersection
      • Union
      • Subtraction
      • Intersections contours
      • Clips by plane
    • Kinematic
      • Surfaces of revolution
      • Solids of revolution
      • Surfaces of extrusion
      • Solids of extrusion
      • Spiral surfaces
      • Spiral solids
      • Pipe-like surfaces
      • Pipe-like solids
    • Surfaces
      • Mesh
      • Flat face with holes
      • Coons surface by three boundary contours
      • Coons surface by four boundary contours
      • Ruled surface from clips
      • Spline surface from clips
      • Spline solid from clips
    • Composite scenes
      • Room
      • Drills
      • Clock