C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
GeomCode Struct Reference

Geometric primitive encoding. More...

#include <constraint_item.h>

Public Types

enum  Type {
  NULL_GEOM , POINT , PROPER_POINT = POINT , LINE ,
  CIRCLE , ELLIPSE , SPLINE , PARAMETRIC ,
  FIRST_END , SECOND_END , MIDDLE_POINT , CENTRE_POINT ,
  SPLINE_POINT , Q1_POINT , Q2_POINT , Q3_POINT ,
  Q4_POINT
}
 

Public Attributes

Type type
 Type of geometry of a model object (from dictionary of types supported by the solver)
 
size_t index
 Number of a primitive for a given object of the model (encoded in individual adapters)
 

Detailed Description

Geometric primitive encoding.

Member Enumeration Documentation

◆ Type

Enumerator
NULL_GEOM 

empty geometric set

POINT 

Point: element of the plane.

PROPER_POINT 

Control point by index.

LINE 

Line.

PARAMETRIC 

Fixed parametric curve

FIRST_END 

Start point of a curve.

SECOND_END 

End point of a curve.

MIDDLE_POINT 

Middle point of a curve.

CENTRE_POINT 

Central point of an ellipse.

SPLINE_POINT 

Control point of a spline by index.

Q1_POINT 

Quadrant point at 3 o'clock.

Q2_POINT 

Quadrant point at 12 o'clock.

Q3_POINT 

Quadrant point at 9 o'clock.

Q4_POINT 

Quadrant point at 6 o'clock.


The documentation for this struct was generated from the following file: