UF_MODL_dimension_data_s (view source)
 
Defined in: uf_modl_expressions.h
 
Also known as:
 
Overview
The structure UF_MODL_dimension_data_s stores the data to create drafting
dimension data for feature expressions. The structure is filled by the
function UF_MODL_get_dimension_data (see below ).


Data Members

type
int
Type of dimension - 0 - Parallel
1 - Diameter
2- angular
3- Radial
4 - RPO

feature_tag
tag_t
The tag of the feature associated with the
dimension

value
double
The value of the expression from which we
create the dimension.

first_point [ 3 ]
double
The absolute coordinates of objects used to
create the dimension. For a parallel
dimension this is the first point necessary
to create the dimension. For a diameter or
radial dimension this is the center of the
arc from which we create the dimension. For
an angular or RPO dimension????

second_point [ 3 ]
double
The second point necessary to create the
parallel dimension. This is unused for the
other types of dimensions.

origin [ 3 ]
double
Origin for the dimension placement in
absolute coordinates.

start_angle
double
Start angle for arc of radial dimensions in radians

end_angle
double
End angle for arc of radial dimensions in radians

csys_tag
tag_t
This is the coordinate system which defines
the XY plane on which the dimension is
created.

drf_txt
char *
Dimension text associated with the dimension.

top_array
tag_t *
Topological information associated with the
feature (such as faces or edges) which should
be used to customize the dimension creation by
the user. This array must be freed by the
user by calling UF_free.

num_top_array
int
Number of topological entities returned

first_line
UF_CURVE_line_t
Used only when the dimension is angular,
this is the first line to be created for
the angular dimension.

second_line
UF_CURVE_line_t
Used only when the dimension is angular,
this is the Second line to be created for
the angular dimension.