HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_OrientedBoundingRect Class Reference

#include <HOM_OrientedBoundingRect.h>

Public Member Functions

 HOM_OrientedBoundingRect (const std::vector< HOM_Vector2 > &points)
 
 ~HOM_OrientedBoundingRect ()
 
bool operator== (HOM_PtrOrNull< HOM_OrientedBoundingRect > brect)
 
bool operator!= (HOM_PtrOrNull< HOM_OrientedBoundingRect > brect)
 
bool isAlmostEqual (HOM_OrientedBoundingRect &brect, double tolerance=0.00001)
 
int __hash__ ()
 
std::string __str__ ()
 
std::string __repr__ ()
 
HOM_Vector2 sizevec ()
 
HOM_Vector2 center ()
 
HOM_Matrix2 orientation ()
 

Public Attributes

UT_OBBox2DD myBoundingBox
 

Detailed Description

Definition at line 21 of file HOM_OrientedBoundingRect.h.

Constructor & Destructor Documentation

HOM_OrientedBoundingRect::HOM_OrientedBoundingRect ( const std::vector< HOM_Vector2 > &  points)
HOM_OrientedBoundingRect::~HOM_OrientedBoundingRect ( )
inline

Definition at line 26 of file HOM_OrientedBoundingRect.h.

Member Function Documentation

int HOM_OrientedBoundingRect::__hash__ ( )
std::string HOM_OrientedBoundingRect::__repr__ ( )
std::string HOM_OrientedBoundingRect::__str__ ( )
HOM_Vector2 HOM_OrientedBoundingRect::center ( )
inline

Definition at line 48 of file HOM_OrientedBoundingRect.h.

bool HOM_OrientedBoundingRect::isAlmostEqual ( HOM_OrientedBoundingRect brect,
double  tolerance = 0.00001 
)
bool HOM_OrientedBoundingRect::operator== ( HOM_PtrOrNull< HOM_OrientedBoundingRect brect)
inline

Definition at line 29 of file HOM_OrientedBoundingRect.h.

HOM_Matrix2 HOM_OrientedBoundingRect::orientation ( )
inline

Definition at line 51 of file HOM_OrientedBoundingRect.h.

HOM_Vector2 HOM_OrientedBoundingRect::sizevec ( )
inline

Definition at line 45 of file HOM_OrientedBoundingRect.h.

Member Data Documentation

UT_OBBox2DD HOM_OrientedBoundingRect::myBoundingBox

Definition at line 55 of file HOM_OrientedBoundingRect.h.


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