 |
Local Ops: Transforming Faces |
|
Contents
[back to top]
18.1 Introduction
PK_FACE_transform_2 transforms the geometry of sets of faces in a body. It fails if you attempt transforms on faces where no surface geometry exists. All faces in a face set must belong to the same body, so it is not possible to transform two bodies at the same time.
This first illustration shows that face 'a' has had a translation transform applied to it and faces in set 'b' have had rotational transforms applied to them.
Figure 18-1 Transformation applied to a list of faces
PK_FACE_transform_2 allows you to perform the transformation in a number of different ways, these are:
-
one face, one transform
-
array of faces, one transform
-
array of faces, array of transforms. The length of the array of transforms is either equal to the array of faces or is one.
-
array of array of faces, one transform
-
array of arrays of faces, array of transforms. The length of the array of transforms is either equal to the array of arrays of faces or is one.
[back to top]