 |
PK_GEOM_render_line |
|
PK_ERROR_code_t PK_GEOM_render_line
(
--- received arguments ---
const int n_geoms, --- number of entities to be rendered
const PK_GEOM_t geoms[], --- geometric entities to be rendered
const PK_TRANSF_t geom_transfs[],
--- transformations to be applied to
--- geoms
const PK_GEOM_render_line_o_t *options --- options structure
)
Render a geometric entity through GO as a view independent wire frame drawing.
NOTE: This function is deprecated and has been superseded by PK_GEOM_render.
Specific Errors:
PK_ERROR_duplicate_array_item geom has duplicates but no transf array
PK_ERROR_bad_component geom transf is inappropriate
This function produces a 3D line drawing of geometric entities in the world
coordinate system via GO. The geometric entities supported are B-curves and
B-surfaces, foreign geometry curves and surfaces and offsets of B-surfaces
and foreign geometry surfaces. Other geometric types are simply ignored.
If 'geom_transfs' is set to NULL, entities in 'geoms' are not transformed.
The 'geoms' array may not contain duplicates in this case.
If 'geom_transfs' is not set to NULL, it refers to an array of TRANSFs of
length 'n_geoms'. The 'geoms' array may contain duplicates in this case.
Each entity in 'geoms' is transformed by the corresponding entry in
'geom_transfs'. The 'geom_transfs' matrices may not contain perspective terms.
They may only contain translation and rotation components. Reflections, scales
and shears are not allowed.
If a 'geom_transfs' entry is set to PK_ENTITY_null, it implies that the
corresponding entity in 'geoms' is not to be transformed.