C4 Engine
C4 Engine API Documentation

Line3D::Set

Defined in:  TSLine3D.h
Sets all six components of a line.
Prototype

Line3D& Set(float vx, float vy, float vz, float mx, float my, float mz);

Line3D& Set(const Vector3D& direction, const Bivector3D& moment);

Parameters
vx,vy,vz The three components of the direction of the line.
mx,my,mz The three components of the moment of the line.
direction A 3D vector corresponding to the direction of the line.
moment A 3D bivector corresponding to the moment of the line.
Description
The Set function replaces all six components of a line with new values.

The return value is a reference to the line object.