RavEngine
Loading...
Searching...
No Matches
physx::Gu::PlaneV Class Reference

Public Member Functions

PX_FORCE_INLINE PlaneV ()
 Constructor.
 
PX_FORCE_INLINE PlaneV (const aos::FloatVArg nx, const aos::FloatVArg ny, const aos::FloatVArg nz, const aos::FloatVArg _d)
 Constructor from a normal and a distance.
 
PX_FORCE_INLINE PlaneV (const PxPlane &plane)
 
PX_FORCE_INLINE PlaneV (const aos::Vec3VArg p0, const aos::Vec3VArg p1, const aos::Vec3VArg p2)
 Constructor from three points.
 
PX_FORCE_INLINE PlaneV (const aos::Vec3VArg _n, const aos::FloatVArg _d)
 Constructor from a normal and a distance.
 
PX_FORCE_INLINE PlaneV (const PlaneV &plane)
 Copy constructor.
 
PX_FORCE_INLINE ~PlaneV ()
 Destructor.
 
PX_FORCE_INLINE PlaneV & setZero ()
 Sets plane to zero.
 
PX_FORCE_INLINE PlaneV & set (const aos::FloatVArg nx, const aos::FloatVArg ny, const aos::FloatVArg nz, const aos::FloatVArg _d)
 
PX_FORCE_INLINE PlaneV & set (const aos::Vec3VArg _normal, aos::FloatVArg _d)
 
PlaneV & set (const aos::Vec3VArg p0, const aos::Vec3VArg p1, const aos::Vec3VArg p2)
 Computes the plane equation from 3 points.
 
PX_FORCE_INLINE aos::FloatV distance (const aos::Vec3VArg p) const
 
PX_FORCE_INLINE aos::BoolV belongs (const aos::Vec3VArg p) const
 
PX_FORCE_INLINE aos::Vec3V project (const aos::Vec3VArg p) const
 projects p into the plane
 
PX_FORCE_INLINE aos::FloatV signedDistanceHessianNormalForm (const aos::Vec3VArg point) const
 
PX_FORCE_INLINE aos::Vec3V getNormal () const
 
PX_FORCE_INLINE aos::FloatV getSignDist () const
 
PX_FORCE_INLINE aos::Vec3V pointInPlane () const
 find an arbitrary point in the plane
 
PX_FORCE_INLINE void normalize ()
 

Public Attributes

aos::Vec4V nd
 The normal to the plan , w store the distance from the origin.
 

The documentation for this class was generated from the following file: