All Frameworks  Class Hierarchy  This Framework  Indexes

SPAbase Global Function coordinate_transf


SPAtransf coordinate_transf(SPAposition const& new_origin,
SPAunit_vector const& new_x_axis,
SPAunit_vector const& new_y_axis)
Constructs a coordinate transformation.

Role: Creates a transformation that carries the origin to the given position, and the x-axis and y-axis to the given unit vectors. If the second unit vector is not orthogonal to the first, this method uses an orthogonal unit vector in the plane of the two given vectors to direct the y-axis.

Effect: System routine

Parameters:
new_origin
position to which the origin is to be translated.
new_x_axis
vector with which the x-axis is to be aligned.
new_y_axis
vector with which the y-axis is to be aligned.

This object is included in the file: transf.hxx

Copyright (c) 1989-2007 by Spatial Corp. All rights reserved.