dilatation en x

Like all linear transformations that command is in 2 modes: direct and matrix.


dilx obj

dilx(c) obj(id)

        X dilates the object of (c) with respect to its center of gravity.
poi(x,y,z): with respect to point (x,y,z).
vertex(s): vertex s.
1) dilx(1.5) vertex[1,5] vol(1,3); x dilates vertices (1,2,3,4,5) of volumes 1 and by (1.5) with respect to point (100,100,200).
2) dilx(2) var("w")poi(100,100,200); x dilates variable named w by (2) with respect to point(100,100,200).
3) dilx(.5) eye view(1): x dilate by .5 the eye of view(1) with respect to origin.

dilx matrix

dilx matrix vol(id)

        Returns the x expansion coefficient of the matrix of volume id.

dilx(c)matrix vol(id)

        X expands the volume id by modifying its matrix.
ini: addresses the basic processing.