 |
PK_GEOM_transform_o_t |
|
struct PK_GEOM_transform_o_s
{
int o_t_version; --- version of options structure
double tolerance; --- precision for replacing geometry (0.0)
PK_GEOM_transform_t modify; --- modify geometry in-place or
--- return new geom
--- (PK_GEOM_transform_new_c) [PF]
PK_LOGICAL_t want_out_geoms;--- fill return array with new geom
--- (PK_LOGICAL_true)
PK_LOGICAL_t want_exact; --- fill exact array (PK_LOGICAL_true)
};
typedef struct PK_GEOM_transform_o_s PK_GEOM_transform_o_t;
The structure contains the optional controls for PK_GEOM_transform_2.
Used in:
PK_GEOM_transform_2
'tolerance' precision for replacing geometry. This is ignored if the
'modify' option is set to PK_GEOM_transform_modify_c or the
input is facet geometry. Default value is 0.0.
'modify' This option determines whether the transformation modifies
the input geometric entities or is applied to new geometric
entities. Only rotations and translations are allowed on
meshes and polylines if 'modify' is set to
PK_GEOM_transform_modify_c. The default value is
PK_GEOM_transform_new_c.
'want_out_geoms' If set to PK_LOGICAL_true, the 'out_geoms' array for
PK_GEOM_transform_2 will be filled with the transformed
geometry. If the 'modify' option is also set to
PK_GEOM_transform_modify_c then the array will contain a copy
of the 'in_geoms' array. If the 'modify' option is set to
PK_GEOM_transform_new_c then the array will contain new
geometry. If set to PK_LOGICAL_false, the 'out_geoms' array
will be ignored. The default value is PK_LOGICAL_true.
'want_exact' If set to PK_LOGICAL_true, the 'exact' array will be returned.
If the 'modify' option is also set to
PK_GEOM_transform_modify_c then the entire array will contain
PK_LOGICAL_true. If the 'modify' option is set to
PK_GEOM_transform_new_c then the array will contain whether
the corresponding transform in the 'out_geoms' array is exact
or not. If set to 'PK_LOGICAL_false', the exact array will be
ignored. The default value is PK_LOGICAL_true.