All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
homogeneous.h File Reference

Utility functions for GfVec4f and GfVec4d as homogeneous vectors. More...

+ Include dependency graph for homogeneous.h:

Go to the source code of this file.

Functions

GF_API GfVec4f GfGetHomogenized (const GfVec4f &v)
 Returns a vector which is v homogenized. More...
 
GF_API GfVec4f GfHomogeneousCross (const GfVec4f &a, const GfVec4f &b)
 Homogenizes a and b and then performs the cross product on the first three elements of each. More...
 
GF_API GfVec4d GfGetHomogenized (const GfVec4d &v)
 
GF_API GfVec4d GfHomogeneousCross (const GfVec4d &a, const GfVec4d &b)
 Homogenizes a and b and then performs the cross product on the first three elements of each. More...
 
GfVec3f GfProject (const GfVec4f &v)
 Projects homogeneous v into Euclidean space and returns the result as a Vec3f. More...
 
GfVec3d GfProject (const GfVec4d &v)
 Projects homogeneous v into Euclidean space and returns the result as a Vec3d. More...
 

Detailed Description

Utility functions for GfVec4f and GfVec4d as homogeneous vectors.

Definition in file homogeneous.h.

Function Documentation

GfVec3f GfProject ( const GfVec4f v)
inline

Projects homogeneous v into Euclidean space and returns the result as a Vec3f.

Definition at line 65 of file homogeneous.h.

GfVec3d GfProject ( const GfVec4d v)
inline

Projects homogeneous v into Euclidean space and returns the result as a Vec3d.

Definition at line 72 of file homogeneous.h.