Public Types | Public Member Functions | Private Attributes | List of all members
gte::PrimalQuery2< Real > Class Template Reference

#include <GtePrimalQuery2.h>

Public Types

enum  OrderType {
  ORDER_Q0_EQUALS_Q1, ORDER_P_EQUALS_Q0, ORDER_P_EQUALS_Q1, ORDER_POSITIVE,
  ORDER_NEGATIVE, ORDER_COLLINEAR_LEFT, ORDER_COLLINEAR_RIGHT, ORDER_COLLINEAR_CONTAIN
}
 

Public Member Functions

int GetNumVertices () const
 
Vector2< Real > const * GetVertices () const
 
 PrimalQuery2 ()
 
 PrimalQuery2 (int numVertices, Vector2< Real > const *vertices)
 
void Set (int numVertices, Vector2< Real > const *vertices)
 
int ToCircumcircle (int i, int v0, int v1, int v2) const
 
int ToCircumcircle (Vector2< Real > const &test, int v0, int v1, int v2) const
 
int ToLine (int i, int v0, int v1) const
 
int ToLine (Vector2< Real > const &test, int v0, int v1) const
 
int ToLine (int i, int v0, int v1, int &order) const
 
int ToLine (Vector2< Real > const &test, int v0, int v1, int &order) const
 
OrderType ToLineExtended (Vector2< Real > const &P, Vector2< Real > const &Q0, Vector2< Real > const &Q1) const
 
int ToTriangle (int i, int v0, int v1, int v2) const
 
int ToTriangle (Vector2< Real > const &test, int v0, int v1, int v2) const
 

Private Attributes

int mNumVertices
 
Vector2< Real > const * mVertices
 

Detailed Description

template<typename Real>
class gte::PrimalQuery2< Real >

Definition at line 23 of file GtePrimalQuery2.h.

Member Enumeration Documentation

template<typename Real>
enum gte::PrimalQuery2::OrderType
Enumerator
ORDER_Q0_EQUALS_Q1 
ORDER_P_EQUALS_Q0 
ORDER_P_EQUALS_Q1 
ORDER_POSITIVE 
ORDER_NEGATIVE 
ORDER_COLLINEAR_LEFT 
ORDER_COLLINEAR_RIGHT 
ORDER_COLLINEAR_CONTAIN 

Definition at line 123 of file GtePrimalQuery2.h.

Constructor & Destructor Documentation

template<typename Real >
gte::PrimalQuery2< Real >::PrimalQuery2 ( )

Definition at line 153 of file GtePrimalQuery2.h.

template<typename Real>
gte::PrimalQuery2< Real >::PrimalQuery2 ( int  numVertices,
Vector2< Real > const *  vertices 
)

Definition at line 161 of file GtePrimalQuery2.h.

Member Function Documentation

template<typename Real >
int gte::PrimalQuery2< Real >::GetNumVertices ( ) const
inline

Definition at line 177 of file GtePrimalQuery2.h.

template<typename Real >
Vector2< Real > const * gte::PrimalQuery2< Real >::GetVertices ( ) const
inline

Definition at line 183 of file GtePrimalQuery2.h.

template<typename Real>
void gte::PrimalQuery2< Real >::Set ( int  numVertices,
Vector2< Real > const *  vertices 
)
inline

Definition at line 170 of file GtePrimalQuery2.h.

template<typename Real >
int gte::PrimalQuery2< Real >::ToCircumcircle ( int  i,
int  v0,
int  v1,
int  v2 
) const

Definition at line 309 of file GtePrimalQuery2.h.

template<typename Real>
int gte::PrimalQuery2< Real >::ToCircumcircle ( Vector2< Real > const &  test,
int  v0,
int  v1,
int  v2 
) const

Definition at line 315 of file GtePrimalQuery2.h.

template<typename Real >
int gte::PrimalQuery2< Real >::ToLine ( int  i,
int  v0,
int  v1 
) const

Definition at line 189 of file GtePrimalQuery2.h.

template<typename Real>
int gte::PrimalQuery2< Real >::ToLine ( Vector2< Real > const &  test,
int  v0,
int  v1 
) const

Definition at line 195 of file GtePrimalQuery2.h.

template<typename Real>
int gte::PrimalQuery2< Real >::ToLine ( int  i,
int  v0,
int  v1,
int order 
) const

Definition at line 213 of file GtePrimalQuery2.h.

template<typename Real>
int gte::PrimalQuery2< Real >::ToLine ( Vector2< Real > const &  test,
int  v0,
int  v1,
int order 
) const

Definition at line 219 of file GtePrimalQuery2.h.

template<typename Real>
PrimalQuery2< Real >::OrderType gte::PrimalQuery2< Real >::ToLineExtended ( Vector2< Real > const &  P,
Vector2< Real > const &  Q0,
Vector2< Real > const &  Q1 
) const

Definition at line 365 of file GtePrimalQuery2.h.

template<typename Real >
int gte::PrimalQuery2< Real >::ToTriangle ( int  i,
int  v0,
int  v1,
int  v2 
) const

Definition at line 279 of file GtePrimalQuery2.h.

template<typename Real>
int gte::PrimalQuery2< Real >::ToTriangle ( Vector2< Real > const &  test,
int  v0,
int  v1,
int  v2 
) const

Definition at line 285 of file GtePrimalQuery2.h.

Member Data Documentation

template<typename Real>
int gte::PrimalQuery2< Real >::mNumVertices
private

Definition at line 147 of file GtePrimalQuery2.h.

template<typename Real>
Vector2<Real> const* gte::PrimalQuery2< Real >::mVertices
private

Definition at line 148 of file GtePrimalQuery2.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06