![]() |
• Math Library | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
API Links
Developer Links
|
class Point3DDefined in:
The C4Vector3D.hPoint3D class encapsulates a 3D point.
Definition
Constructor
Parameters
Description
The Point3D class is used to store a three-dimensional point having floating-point components x, y, and z. The difference between a point and a vector is that a point is assumed to have a w coordinate of 1 whenever it needs to be converted to a four-dimensional representation, whereas a vector is assumed to have a w coordinate of 0. Such a conversion occurs when a vector or point is assigned to a Vector4D object or is multiplied by a Transform4D object.The default constructor leaves the components of the vector undefined. If the values r, s, and t are supplied, then they are assigned to the x, y, and z components of the base vector object, respectively.The difference between two points produces a direction vector. A three-dimensional direction vector is converted to a point by adding it to the identifier Origin3D.
Overloaded Operators
Nonmember Operations
Base Classes
See Also
|