frameXY()

Synopsis

Returns a frame with origin, the positive X direction along xdir. The vectors xdir and ydir will lie on the XY plane of the frame , and the direction of positive Y is derived from ydir.

Frames define coordinate systems. There is a transformation matrix associated with a frame , which transforms geometry defined in the "world" coordinate system to the local coordinate system.

Syntax

frameXY ( origin As Point, _
          xdir As Vector, _
          ydir As Frame ) As Frame 
Argument Type Description
origin Point origin point of frame
xdir Vector X direction vector of frame
ydir Frame To determine Y direction vector of frame