Public Types | Static Public Member Functions | Static Private Member Functions | Static Private Attributes
vrender::PrimitivePositioning Class Reference

#include <PrimitivePositioning.h>

List of all members.

Public Types

enum  RelativePosition { Independent = 0x0, Upper = 0x1, Lower = 0x2 }

Static Public Member Functions

static int computeRelativePosition (const Primitive *p1, const Primitive *p2)
static void split (Segment *S, const NVector3 &v, double C, Primitive *&P_plus, Primitive *&P_moins)
static void split (Point *P, const NVector3 &v, double C, Primitive *&P_plus, Primitive *&P_moins)
static void split (Polygone *P, const NVector3 &v, double C, Primitive *&P_plus, Primitive *&P_moins)
static void splitPrimitive (Primitive *P, const NVector3 &v, double c, Primitive *&prim_up, Primitive *&prim_lo)

Static Private Member Functions

static int computeRelativePosition (const Polygone *p1, const Polygone *p2)
static int computeRelativePosition (const Polygone *p1, const Segment *p2)
static int computeRelativePosition (const Polygone *p1, const Point *p2)
static int computeRelativePosition (const Segment *p1, const Segment *p2)
static gpc_polygon createGPCPolygon_XY (const Polygone *P)
static void getsigns (const Primitive *P, const NVector3 &v, double C, std::vector< int > &signs, std::vector< double > &zvals, int &Smin, int &Smax, double I_EPS)
static bool intersectSegments_XY (const Vector2 &P1, const Vector2 &Q1, const Vector2 &P2, const Vector2 &Q2, double I_EPS, double &t1, double &t2)
static int inverseRP (int)
static bool pointOutOfPolygon_XY (const Vector3 &P, const Polygone *Q, double I_EPS)

Static Private Attributes

static double _EPS = 0.00001

Detailed Description

Definition at line 57 of file PrimitivePositioning.h.


Member Enumeration Documentation

Enumerator:
Independent 
Upper 
Lower 

Definition at line 60 of file PrimitivePositioning.h.


Member Function Documentation

int PrimitivePositioning::computeRelativePosition ( const Primitive p1,
const Primitive p2 
) [static]

Definition at line 104 of file PrimitivePositioning.cpp.

int PrimitivePositioning::computeRelativePosition ( const Polygone p1,
const Polygone p2 
) [static, private]

Definition at line 211 of file PrimitivePositioning.cpp.

int PrimitivePositioning::computeRelativePosition ( const Polygone p1,
const Segment p2 
) [static, private]

Definition at line 156 of file PrimitivePositioning.cpp.

int PrimitivePositioning::computeRelativePosition ( const Polygone p1,
const Point p2 
) [static, private]

Definition at line 141 of file PrimitivePositioning.cpp.

int PrimitivePositioning::computeRelativePosition ( const Segment p1,
const Segment p2 
) [static, private]

Definition at line 272 of file PrimitivePositioning.cpp.

Definition at line 437 of file PrimitivePositioning.cpp.

void PrimitivePositioning::getsigns ( const Primitive P,
const NVector3 v,
double  C,
std::vector< int > &  signs,
std::vector< double > &  zvals,
int &  Smin,
int &  Smax,
double  I_EPS 
) [static, private]

Definition at line 461 of file PrimitivePositioning.cpp.

bool PrimitivePositioning::intersectSegments_XY ( const Vector2 P1,
const Vector2 Q1,
const Vector2 P2,
const Vector2 Q2,
double  I_EPS,
double &  t1,
double &  t2 
) [static, private]

Definition at line 344 of file PrimitivePositioning.cpp.

int PrimitivePositioning::inverseRP ( int  pos) [static, private]

Definition at line 324 of file PrimitivePositioning.cpp.

bool PrimitivePositioning::pointOutOfPolygon_XY ( const Vector3 P,
const Polygone Q,
double  I_EPS 
) [static, private]

Definition at line 299 of file PrimitivePositioning.cpp.

void PrimitivePositioning::split ( Segment S,
const NVector3 v,
double  C,
Primitive *&  P_plus,
Primitive *&  P_moins 
) [static]

Definition at line 635 of file PrimitivePositioning.cpp.

void PrimitivePositioning::split ( Point P,
const NVector3 v,
double  C,
Primitive *&  P_plus,
Primitive *&  P_moins 
) [static]

Definition at line 621 of file PrimitivePositioning.cpp.

void PrimitivePositioning::split ( Polygone P,
const NVector3 v,
double  C,
Primitive *&  P_plus,
Primitive *&  P_moins 
) [static]

Definition at line 504 of file PrimitivePositioning.cpp.

void PrimitivePositioning::splitPrimitive ( Primitive P,
const NVector3 v,
double  c,
Primitive *&  prim_up,
Primitive *&  prim_lo 
) [static]

Definition at line 705 of file PrimitivePositioning.cpp.


Member Data Documentation

double PrimitivePositioning::_EPS = 0.00001 [static, private]

Definition at line 98 of file PrimitivePositioning.h.


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


octovis
Author(s): Kai M. Wurm , Armin Hornung
autogenerated on Thu Feb 11 2016 23:51:21