C4 Engine
C4 Engine API Documentation

Dipole3D::Set

Defined in:  TSDipole3D.h
Sets all ten components of a dipole.
Prototype

Dipole3D& Set(float vx, float vy, float vz, float mx, float my, float mz, float px, float py, float pz, float pw);

Dipole3D& Set(const Vector3D& direction, const Bivector3D& moment, const Vector4D& point);

Parameters
vx,vy,vz The coordinates of the direction of the carrier line.
mx,my,mz The coordinates of the moment of the carrier line.
px,py,pz,pw The coordinates of the flat point component.
direction The direction of the carrier line.
moment The moment of the carrier line.
point The flat point component.
Description
The Set function sets the ten coordinates of a dipole to the values specified.

The return value is a reference to the dipole object.