Radial and Diameter Dimensions

These types of dimensions are available for circles and arcs, they correspondingly specify circle radius or diameter that is twice the radius. As well as distance and angular dimensions, radial and diameter dimensions can be associated with an independent numeric parameter or a scalar variable, i.e. that can be driving or variational, this can be set by the GCE_dim_pars structure.

Radial dimensions are created using the following method:

constraint_item GCE_AddRadiusDimension(GCE_system gSys, geom_item cir
                                    , GCE_dim_pars dPar).

A diameter dimension is created by the following method:

constraint_item GCE_AddDiameter(GCE_system gSys, geom_item cir, GCE_dim_pars dPar).

Both methods have the same initial data:

  • gSys is the geometric constraint system, where the new dimension is registered;

  • cir is circle descriptor or circle arc descriptor;

  • dPars is the structure that determines the dimension value in length units.

The dimension value is stored in the dPars.var variable, or, if dPars.var = GCE_NULL_V then the parameter value is determined by dPars.dimValue independent numeric parameter, that makes it a driving dimension. Driving and variational dimensions are described in more detail in Item Driving and Variational Dimensions.