Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | List of all members
om::physics::collision::MinkowskiVertex Class Reference

A class that represents a point on the minkowski difference between two shapes. More...

#include <omPhysicsCollisionMinkowskiVertex.h>

Public Member Functions

 MinkowskiVertex ()
 Create a vertex in minkowski space with uninitialized positions. More...
 
 MinkowskiVertex (const SIMDFloat4 &newPoint1, const SIMDFloat4 &newPoint2)
 Create a vertex in minkowski space from the two cartesian vertices. More...
 
const SIMDFloat4 & getPosition () const
 Return the position of this minkowski vertex in minkowski difference space. More...
 
SIMDFloat4 getPosition1 () const
 Return the position of this minkowski vertex on the first shape in world space. More...
 
const SIMDFloat4 & getPosition2 () const
 Return the position of this minkowski vertex on the second shape in world space. More...
 
 operator const SIMDFloat4 & () const
 Cast this minkowski vertex to a 3D vector representing the position of the vertex in minkowski space. More...
 
SIMDFloat4 operator- () const
 Return the negation of this minkowski vertex's position in minkowski space. More...
 
SIMDFloat4 operator+ (const MinkowskiVertex &other) const
 Add the minkowski space vertex position of this vertex and another and return the result. More...
 
SIMDFloat4 operator- (const MinkowskiVertex &other) const
 Subtract the minkowski space vertex position of this vertex and another and return the result. More...
 

Detailed Description

A class that represents a point on the minkowski difference between two shapes.

Constructor & Destructor Documentation

om::physics::collision::MinkowskiVertex::MinkowskiVertex ( )
inline

Create a vertex in minkowski space with uninitialized positions.

om::physics::collision::MinkowskiVertex::MinkowskiVertex ( const SIMDFloat4 &  newPoint1,
const SIMDFloat4 &  newPoint2 
)
inline

Create a vertex in minkowski space from the two cartesian vertices.

Member Function Documentation

const SIMDFloat4& om::physics::collision::MinkowskiVertex::getPosition ( ) const
inline

Return the position of this minkowski vertex in minkowski difference space.

SIMDFloat4 om::physics::collision::MinkowskiVertex::getPosition1 ( ) const
inline

Return the position of this minkowski vertex on the first shape in world space.

const SIMDFloat4& om::physics::collision::MinkowskiVertex::getPosition2 ( ) const
inline

Return the position of this minkowski vertex on the second shape in world space.

om::physics::collision::MinkowskiVertex::operator const SIMDFloat4 & ( ) const
inline

Cast this minkowski vertex to a 3D vector representing the position of the vertex in minkowski space.

SIMDFloat4 om::physics::collision::MinkowskiVertex::operator- ( ) const
inline

Return the negation of this minkowski vertex's position in minkowski space.

SIMDFloat4 om::physics::collision::MinkowskiVertex::operator+ ( const MinkowskiVertex other) const
inline

Add the minkowski space vertex position of this vertex and another and return the result.

SIMDFloat4 om::physics::collision::MinkowskiVertex::operator- ( const MinkowskiVertex other) const
inline

Subtract the minkowski space vertex position of this vertex and another and return the result.


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