eLynx SDK v3.0.1
C++ image processing API reference

Geometry.h File Reference

#include <elx/core/CoreTypes.h>
#include <elx/core/CoreMacros.h>
#include "MathLib.h"
#include <vector>
#include "inl/Geometry.inl"

Go to the source code of this file.


Classes

class  eLynx::Math::Point2< T >
class  eLynx::Math::Point3< T >
class  eLynx::Math::Segment2< T >
class  eLynx::Math::Segment3< T >
class  eLynx::Math::Rectangle2< T >
class  eLynx::Math::AOBBox2< T >
class  eLynx::Math::Triangle2< T >
class  eLynx::Math::Triangle3< T >
class  eLynx::Math::TriangleIdx
struct  eLynx::Math::TriangulationData
struct  eLynx::Math::TriangulationData::TriangulationData::Vertex
struct  eLynx::Math::TriangulationData::TriangulationData::Edge
struct  eLynx::Math::TriangulationData::TriangulationData::Triangle
struct  eLynx::Math::BarycentricCoordinates2< T >

Namespaces

namespace  eLynx
namespace  eLynx::Math

Typedefs

typedef std::vector< Point2i > eLynx::Math::Point2iList
typedef std::vector< Point2l > eLynx::Math::Point2lList
typedef std::vector< Point2f > eLynx::Math::Point2fList
typedef std::vector< Point2d > eLynx::Math::Point2dList
typedef std::vector< AOBBox2i > eLynx::Math::AOBBox2iList
typedef std::vector< AOBBox2l > eLynx::Math::AOBBox2lList
typedef std::vector< AOBBox2f > eLynx::Math::AOBBox2fList
typedef std::vector< AOBBox2d > eLynx::Math::AOBBox2dList
typedef std::vector< TriangleIdx > eLynx::Math::TriangleIdxList
Point specializations
typedef Point2< int32 > eLynx::Math::Point2i
typedef Point2< int64 > eLynx::Math::Point2l
typedef Point2< float > eLynx::Math::Point2f
typedef Point2< double > eLynx::Math::Point2d
typedef Point3< int32 > eLynx::Math::Point3i
typedef Point3< int64 > eLynx::Math::Point3l
typedef Point3< float > eLynx::Math::Point3f
typedef Point3< double > eLynx::Math::Point3d
Segment specializations
typedef Segment2< int32 > eLynx::Math::Segment2i
typedef Segment2< int64 > eLynx::Math::Segment2l
typedef Segment2< float > eLynx::Math::Segment2f
typedef Segment2< double > eLynx::Math::Segment2d
typedef Segment3< int32 > eLynx::Math::Segment3i
typedef Segment3< int64 > eLynx::Math::Segment3l
typedef Segment3< float > eLynx::Math::Segment3f
typedef Segment3< double > eLynx::Math::Segment3d
Rectangle specializations
typedef Rectangle2< int32 > eLynx::Math::Rectangle2i
typedef Rectangle2< int64 > eLynx::Math::Rectangle2l
typedef Rectangle2< float > eLynx::Math::Rectangle2f
typedef Rectangle2< double > eLynx::Math::Rectangle2d
Segment specializations
typedef AOBBox2< int32 > eLynx::Math::AOBBox2i
typedef AOBBox2< int64 > eLynx::Math::AOBBox2l
typedef AOBBox2< float > eLynx::Math::AOBBox2f
typedef AOBBox2< double > eLynx::Math::AOBBox2d
Triangle specializations
typedef Triangle2< int32 > eLynx::Math::Triangle2i
typedef Triangle2< int64 > eLynx::Math::Triangle2l
typedef Triangle2< float > eLynx::Math::Triangle2f
typedef Triangle2< double > eLynx::Math::Triangle2d
typedef Triangle3< int32 > eLynx::Math::Triangle3i
typedef Triangle3< int64 > eLynx::Math::Triangle3l
typedef Triangle3< float > eLynx::Math::Triangle3f
typedef Triangle3< double > eLynx::Math::Triangle3d

Functions

template<typename T >
double eLynx::Math::elxGetDistance (const Point2< T > &iP0, const Point2< T > &iP1)
template<typename T >
Point2< T > eLynx::Math::elxGetMiddle (const Point2< T > &iP0, const Point2< T > &iP1)
template<class T >
Point2< T > eLynx::Math::elxGetMiddle (const Point2< T > &iP0, const Point2< T > &iP1, const Point2< T > &iP2)
template<typename T >
bool eLynx::Math::elxComparePoints (const Point2< T > &iP0, const Point2< T > &iP1)
template<typename T >
bool eLynx::Math::elxEqualPoints (const Point2< T > &iP0, const Point2< T > &iP1)
template<class T >
Point2< T > eLynx::Math::elxNormalizePoint (const Point2< T > &iP)
template<class T >
eLynx::Math::elxDotProduct (const Point2< T > &iP0, const Point2< T > &iP1)
template<class T >
Point2< T > eLynx::Math::elxSubstructPoints (const Point2< T > &iP0, const Point2< T > &iP1)
template<class T >
Point2< T > eLynx::Math::elxAddPoints (const Point2< T > &iP0, const Point2< T > &iP1)
template<typename T >
double eLynx::Math::elxGetDistance (const Point3< T > &iP0, const Point3< T > &iP1)
template<typename T >
Point3< T > eLynx::Math::elxGetMiddle (const Point3< T > &iP0, const Point3< T > &iP1)
template<class T >
Point3< T > eLynx::Math::elxGetMiddle (const Point3< T > &iP0, const Point3< T > &iP1, const Point3< T > &iP2)
template<typename T >
bool eLynx::Math::elxComparePoints (const Point3< T > &iP0, const Point3< T > &iP1)
template<typename T >
bool eLynx::Math::elxEqualPoints (const Point3< T > &iP0, const Point3< T > &iP1)
template<class T >
Point3< T > eLynx::Math::elxNormalizePoint (const Point3< T > &iP)
template<class T >
Point3< T > eLynx::Math::elxCrossProduct (const Point3< T > &iP0, const Point3< T > &iP1)
template<class T >
eLynx::Math::elxDotProduct (const Point3< T > &iP0, const Point3< T > &iP1)
template<class T >
Point3< T > eLynx::Math::elxSubstructPoints (const Point3< T > &iP0, const Point3< T > &iP1)
template<class T >
Point3< T > eLynx::Math::elxAddPoints (const Point3< T > &iP0, const Point3< T > &iP1)
bool ExportedByMath eLynx::Math::elxTriangulate (const Point2iList &iPoints, TriangleIdxList &oTriangles)
bool ExportedByMath eLynx::Math::elxTriangulate (const Point2iList &iPoints, TriangulationData &oTriangles)
template<class Operator >
void ExportedByMath eLynx::Math::elxProcessLine2i (int32 iX1, int32 iY1, int32 iX2, int32 iY2, int32 iW, int32 iH, Operator &iOperator)
template<class Operator >
void ExportedByMath eLynx::Math::elxProcessLine2i (const Math::Point2i &iP1, const Math::Point2i &iP2, int32 iW, int32 iH, Operator &iOperator)
void ExportedByMath eLynx::Math::elxComputeLinePoints (const Point2i &iP1, const Point2i &iP2, int32 iW, int32 iH, Point2iList &iPoints)
template<typename T >
bool ExportedByMath eLynx::Math::elxIntersectLineLine (const Point2< T > &iPoint11, const Point2< T > &iPoint12, const Point2< T > &iPoint21, const Point2< T > &iPoint22, Point2< T > &oPoint)
template<typename T >
bool ExportedByMath eLynx::Math::elxIntersectLineLine (const T iX11, const T iY11, const T iX12, const T iY12, const T iX21, const T iY21, const T iX22, const T iY22, T &X, T &Y)
template<typename T , typename U >
bool ExportedByMath eLynx::Math::elxIntersectLineLine (const Point2< T > &iPoint11, const Point2< T > &iPoint12, const Point2< T > &iPoint21, const Point2< T > &iPoint22, Point2< U > &oPoint)
template<typename T , typename U >
bool ExportedByMath eLynx::Math::elxIntersectLineLine (const T iX11, const T iY11, const T iX12, const T iY12, const T iX21, const T iY21, const T iX22, const T iY22, U &X, U &Y)
template<typename T >
bool ExportedByMath eLynx::Math::elxIntersectLineSegment (const Point2< T > &iPoint1, const Point2< T > &iPoint2, const Segment2< T > &iSegment, Point2< T > &oPoint)
bool ExportedByMath eLynx::Math::elxIntersectLineRectangle (const Point2< int32 > &iPoint1, const Point2< int32 > &iPoint2, const Rectangle2< int32 > &iRectangle, Segment2< int32 > &oSegment)
template<typename T >
bool ExportedByMath eLynx::Math::elxIntersectCircleRectangle (const Rectangle2< T > &iRectangle, const Point2< T > &iPoint, T iRadius)

Generated on 14 Apr 2009 by doxygen 1.5.8