 |
PK_find_reparam_record_r_t |
|
struct PK_find_reparam_record_r_s
{
int n_topols; --- Number of topologies whose
--- geometry can be reparameterised
--- to improve their quality.
PK_TOPOL_t *topols; --- The topols whose geometry can
--- be reparameterised to improve
--- their quality.
int n_geoms; --- Number of geometries associated
--- with the topologies.
PK_GEOM_t *geoms; --- Array of geometries that are
--- associated with the topologies
--- and require reparameterisation
--- to improve quality.
PK_INTERVAL_t interval_1; --- The recommended interval for
--- the first parameter of each
--- entity in 'geoms'
PK_reparameterise_t reparam_type_1; --- The type of change to be
--- applied to the first parameter
--- interval
PK_INTERVAL_t interval_2; --- The recommended interval for
--- the second parameter of each
--- entity in'geoms'
PK_reparameterise_t reparam_type_2; --- The type of change to be
--- applied to the second parameter
--- interval
int n_missing_entities; --- Number of entities that were
--- not directly implied by the
--- input argument 'entities' of
--- PK_ENTITY_find_reparam but are
--- present in 'topols' or 'geoms'.
PK_ENTITY_t *missing_entities; --- The entities that were not
--- directly implied by the input
--- argument 'entities' of
--- PK_ENTITY_find_reparam but are
--- present in 'topols' or 'geoms'.
};
typedef struct PK_find_reparam_record_r_s PK_find_reparam_record_r_t;
This structure describes a preferred parameterisation of a set of geometries
whose reliability in Parasolid operations involving them could be improved by
reparameterisation and which must be reparameterised simultaneously if the
geometric dependencies between them are to be preserved.
Used in:
PK_ENTITY_find_reparam_r_t
Description of fields:
'n_topols' The number of topologies whose shape depends on at
least one of the geometries in 'geoms'.
'topols' An array of topologies whose shape depends on at
least one of the geometries in 'geoms'.
Where the input is a body, an array of faces or an
array of surfaces the topologies will all be faces.
'n_geoms' The number of geometries whose quality can be
improved by reparameterisation.
'geoms' An array of geometries whose quality can be improved
by reparameterisation, which share a common geometric
source for their parameterisation and must therefore
be reparameterised simultaneously to preserve the
dependencies between them.
'interval_1' The suggested improved interval for the first parameter
of the geometries in 'geoms'. If reparameterisation is
required the new interval will be a linear scaling
of the original interval, with the low bound set
to 0, otherwise original interval will be returned.
'reparam_type_1' The type of change to be made to the interval of the
first parameter of the geometries. This will either
be no change (PK_reparameterise_none_c) or a linear
scaling plus a translation
(PK_reparameterise_rescale_c).
'interval_2' The suggested improved interval for the second
parameter of the geometries in 'geoms'. If
reparameterisation is required the new interval will
be a linear scaling of the original interval, with the
low bound set to 0, otherwise original interval will
be returned.
'reparam_type_2' The type of change to be made to the interval of the
second parameter of the geometries. This will either
be no change (PK_reparameterise_none_c) or a linear
scaling plus a translation
(PK_reparameterise_rescale_c).
'n_missing_entities' The number of entities not directly implied by the
input argument 'entities' of PK_ENTITY_find_reparam
but are present in the 'topols' or 'geoms' arrays.
'missing_entities' The entities not directly implied by the input
argument 'entities' but are present in the
'topols' or 'geoms' arrays.
Where the input argument 'entities' contains a single
body the implied entities are all faces of the body and
this array will be empty.
If 'entities' contains an array of faces this
array will contain those faces in 'topols' which
are not in 'entities'.
For the case that 'entities' contains an array of
surfaces this array will contain those surfaces in
'geoms' but not in 'entities'.