C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2

Parameters of dimensional constraint. More...

#include <gce_types.h>

Public Attributes

var_item var
 Value of dimension specified by the variable.
 
double dimValue
 Value of dimension when var == GCE_NULL_V.
 

Detailed Description

Parameters of dimensional constraint.

All dimensional constraints are specified on geometrical objects; in addition dimension is specified by additional parameters which are passed via the structure GCE_dim_pars.

Functions into which GCE_dim_pars is passed as argument: GCE_AddDistance, GCE_AddDistance2P, GCE_AddDistancePLs, GCE_AddDistancePLs, GCE_AddDirectedDistance, GCE_FormCirDimension.
Dimensions
Dimension is a numerical function which arguments are geometric objects and return value is a number. 'Dimensional constraints' are defined on the base of dimensions. All 'dimensional constraints' associate geometric objects with a number called a value of dimension. If the constraint is satisfied, then its numerical parameter is equal to the value of dimension. Numerical parameter of the dimension is specified by a fixed number (independent parameter) or by a numerical variable.
The solver of constraints treats two types of dimensions: Driving and variational.
Kinds of dimension
"Driving" dimension is a dimensional constraint specifying position of geometric objects subject to a constant value of dimension;
"Variational" dimension is a constraint associating geometric objects and a variable which is equal to the dimension value. Both geometry and variable of dimension can vary under the influence of variational dimension.
Dimensions can be directed, for instance, horizontal or vertical distance between points(function GCE_AddDirectedDistance).
Parameters
var - descriptor of variable specifying the value of dimension (degrees if the dimension is angular);
dimValue - parameter specifying the value of dimension;
If var != GCE_NULL_V, it means that the dimension is "variational" If var == GCE_NULL_V, then the value of dimension equals dimValue, else the value of dimension is identically equal to a numerical variable 'var', i.e. the dimension is driving.

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