Structural Informatics Group (SIG) logo
Home | Projects | Demos | Downloads | Publications | Local Info | About Us | New site
Go to the first, previous, next, last section, table of contents.

XG.3D-TRANSFORM-THING

source files: xthl.c

SYNTAX

(XG.3D-TRANSFORM-THING
  :thing     <thing>
  :transform <xtfm>

DESCRIPTION

This function applies the tranform matrix <xtfm>, which must be an instance of CLASS-MATRIX44, to <thing>, which must be a "thing" in the :DRAW <xcmr> sense, permamently modifying the contents of <thing>.

Specifically:

If a :POINT-RELATION is present in the thing and contains :POINT-X/Y/Z arrays, they will be transformed directly.

If a :POINT-RELATION is present in the thing and contains :POINT-NORMAL-X/Y/Z arrays, they will be transformed by the normalized inverse transpose of <xtfm>.

If a :FACET-RELATION is present in the thing and contains :FACET-NORMAL-X/Y/Z arrays, they will be transformed by the normalized inverse transpose of <xtfm>.


Go to the first, previous, next, last section, table of contents.