 |
PK_TRANSF_create_equal_scale |
|
PK_ERROR_code_t PK_TRANSF_create_equal_scale
(
--- received arguments ---
double scale, --- scaling factor
PK_VECTOR_t centre, --- centre of scaling
--- returned arguments ---
PK_TRANSF_t *const transf --- equal scaling transformation
)
This function creates an equal scaling transformation.
Specific Errors:
PK_ERROR_sc_factor_le_0 'scale' is not greater than zero. (MILD)
A transf is created that, when applied to an entity, causes an equal scaling
along all axes, centred on the given position.