Public Member Functions | Public Attributes | List of all members
gte::Rectangle< N, Real > Class Template Reference

#include <GteRectangle.h>

Public Member Functions

void GetVertices (std::array< Vector< N, Real >, 4 > &vertex) const
 
bool operator!= (Rectangle const &rectangle) const
 
bool operator< (Rectangle const &rectangle) const
 
bool operator<= (Rectangle const &rectangle) const
 
bool operator== (Rectangle const &rectangle) const
 
bool operator> (Rectangle const &rectangle) const
 
bool operator>= (Rectangle const &rectangle) const
 
 Rectangle ()
 
 Rectangle (Vector< N, Real > const &inCenter, std::array< Vector< N, Real >, 2 > const &inAxis, Vector< 2, Real > const &inExtent)
 

Public Attributes

std::array< Vector< N, Real >, 2 > axis
 
Vector< N, Real > center
 
Vector< 2, Real > extent
 

Detailed Description

template<int N, typename Real>
class gte::Rectangle< N, Real >

Definition at line 21 of file GteRectangle.h.

Constructor & Destructor Documentation

template<int N, typename Real >
gte::Rectangle< N, Real >::Rectangle ( )

Definition at line 58 of file GteRectangle.h.

template<int N, typename Real>
gte::Rectangle< N, Real >::Rectangle ( Vector< N, Real > const &  inCenter,
std::array< Vector< N, Real >, 2 > const &  inAxis,
Vector< 2, Real > const &  inExtent 
)

Definition at line 69 of file GteRectangle.h.

Member Function Documentation

template<int N, typename Real>
void gte::Rectangle< N, Real >::GetVertices ( std::array< Vector< N, Real >, 4 > &  vertex) const

Definition at line 80 of file GteRectangle.h.

template<int N, typename Real >
bool gte::Rectangle< N, Real >::operator!= ( Rectangle< N, Real > const &  rectangle) const

Definition at line 122 of file GteRectangle.h.

template<int N, typename Real >
bool gte::Rectangle< N, Real >::operator< ( Rectangle< N, Real > const &  rectangle) const

Definition at line 128 of file GteRectangle.h.

template<int N, typename Real >
bool gte::Rectangle< N, Real >::operator<= ( Rectangle< N, Real > const &  rectangle) const

Definition at line 154 of file GteRectangle.h.

template<int N, typename Real >
bool gte::Rectangle< N, Real >::operator== ( Rectangle< N, Real > const &  rectangle) const

Definition at line 95 of file GteRectangle.h.

template<int N, typename Real >
bool gte::Rectangle< N, Real >::operator> ( Rectangle< N, Real > const &  rectangle) const

Definition at line 160 of file GteRectangle.h.

template<int N, typename Real >
bool gte::Rectangle< N, Real >::operator>= ( Rectangle< N, Real > const &  rectangle) const

Definition at line 166 of file GteRectangle.h.

Member Data Documentation

template<int N, typename Real>
std::array<Vector<N, Real>, 2> gte::Rectangle< N, Real >::axis

Definition at line 39 of file GteRectangle.h.

template<int N, typename Real>
Vector<N, Real> gte::Rectangle< N, Real >::center

Definition at line 38 of file GteRectangle.h.

template<int N, typename Real>
Vector<2, Real> gte::Rectangle< N, Real >::extent

Definition at line 40 of file GteRectangle.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