UF_MODL_lawext_data_s (view source)
 
Defined in: uf_modl_types.h
 
Also known as:
 
Overview
Following is a structure definition for law extension feature data.
It includes all the input elements to create a law controlled extension
surface.

Minimum four parameters are required to be specified. The base curve, one
of the options in direction reference, length law and angle law are required
for creation of the feature. The law parameters, length_law_parms and
angle_law_parms may be defined using UF_MODL_create_law ( ).

The specification of spine is optional and can be specified at following
three places.
1. Feature spine
2. Length law spine
3. Angle law spine
It is necessary that spine should be unique where ever specified. Only feature
can have spine specified but only law(s) cannot have spine specified.


Data Members

ref_type
UF_MODL_lawext_dirref_t
Direction reference type

length_law_parms
void *
For the specification of
length law parameters

angle_law_parms
void *
For the specification of
angle law parameters

curve
UF_STRING_p_t
Pointer to string for base curve
from which extension surface will
be created

n_faces
int
Number of faces used for direction
reference.
A face collection may be used as the
one and only member of the array.
Will be zero if direction
reference type is not set to
UF_MODL_lawext_dirref_face

face_ids
tag_t *
Array of n_faces number of tags used
for direction reference. Only used if
direction reference type is set to
UF_MODL_lawext_dirref_face

smart_dir
tag_t
Smart direction vector tag. Only used
if direction reference type is set to
UF_MODL_lawext_dirref_vector

spine
UF_STRING_p_t
Pointer to spine string (optional).
If set to NULL, curve is used as spine

distance_tol
double
Distance tolerance

angle_tol
double
Angle tolerance

merge
int
Merge faces

bisided
int
Extend on both sides or not