wfmath  1.0.3
A math library for the Worldforge system.
WFMath::Poly2Orient< dim > Class Template Reference

Public Member Functions

 Poly2Orient (const Poly2Orient &p)
 
Poly2Orientoperator= (const Poly2Orient &p)=default
 
Point< dim > convert (const Point< 2 > &p) const
 
bool expand (const Point< dim > &pd, Point< 2 > &p2, CoordType epsilon=numeric_constants< CoordType >::epsilon())
 
Poly2Reorient reduce (const Polygon< 2 > &poly, size_t skip=std::numeric_limits< size_t >::max())
 
void shift (const Vector< dim > &v)
 
void rotate (const RotMatrix< dim > &m, const Point< dim > &p)
 
void rotate2 (const RotMatrix< dim > &m, const Point< 2 > &p)
 
void rotate (const Quaternion &q, const Point< 3 > &p)
 
void rotate2 (const Quaternion &q, const Point< 2 > &p)
 
Poly2Orient toParentCoords (const Point< dim > &origin, const RotMatrix< dim > &rotation=RotMatrix< dim >().identity()) const
 
Poly2Orient toParentCoords (const AxisBox< dim > &coords) const
 
Poly2Orient toParentCoords (const RotBox< dim > &coords) const
 
Poly2Orient toLocalCoords (const Point< dim > &origin, const RotMatrix< dim > &rotation=RotMatrix< dim >().identity()) const
 
Poly2Orient toLocalCoords (const AxisBox< dim > &coords) const
 
Poly2Orient toLocalCoords (const RotBox< dim > &coords) const
 
Poly2Orient< 3 > toParentCoords (const Point< 3 > &origin, const Quaternion &rotation) const
 
Poly2Orient< 3 > toLocalCoords (const Point< 3 > &origin, const Quaternion &rotation) const
 
Vector< dim > offset (const Point< dim > &pd, Point< 2 > &p2) const
 
bool checkContained (const Point< dim > &pd, Point< 2 > &p2) const
 
bool checkIntersect (const AxisBox< dim > &b, Point< 2 > &p2, bool proper) const
 
void rotate (const Quaternion &q, const Point< 3 > &p)
 
void rotate2 (const Quaternion &q, const Point< 2 > &p)
 

Friends

int Intersect (const Poly2Orient< dim > &, const Poly2Orient< dim > &, Poly2OrientIntersectData &)
 

Detailed Description

template<int dim>
class WFMath::Poly2Orient< dim >

Definition at line 194 of file polygon.h.


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