FeResPost Web Site                     FeResPost Online User Manual

I.2.2.2 Three “initWithOViVj” methods

The three methods are “initWithOV1V2”, “initWithOV2V3”, “initWithOV3V1”, “initWithOV2V1”, “initWithOV3V2” and “initWithOV1V3”. They produce CoordSys objects defined by their origin and two direction vectors corresponding to vector ei and to the orientation of vector ej respectively.

The six arguments of these methods are:

Note that the orientation vector ej is not necessarily orthogonal to ei. If the vectors are not orthogonal, then i is a unit vector parallel to ei, and vector j is the unit vector perpendicular to i closest to ej. The last vector k of the coordinate system is a unit vector perpendicular to both i and j.

Here again, no check is made in a DataBase to ensure that the data are consistent. (For example, checking that the reference coordinate system exists.)