Polygon Crucher SDK - Documentation
Documentation
Loading...
Searching...
No Matches
C3DEdge Class Reference

C3DEdge is a class containing 2 point indexes that represent the edge of a face. More...

Detailed Description

C3DEdge is a class containing 2 point indexes that represent the edge of a face.

Note
The points are ordered for making comparison easier. That means that C3DEdge::point1 < C3DEdge::point2
If you need unordered edge, use C3DEdge::SetMatchLessEdge. C3DEdge::operator == cannot be used with such edges

#include <FaceList.h>

Inherited by CInitialCost.

Public Member Functions

 C3DEdge (int point1, int point2)
 
int Point1 () const
 
int Point2 () const
 
void SetMatchLessEdge (int point1, int point2)
 
void SetEdge (int point1, int point2)
 
C3DEdgeoperator= (const C3DEdge &edge)
 
bool operator< (const C3DEdge &edge)
 
bool operator== (const C3DEdge &edge) const
 
bool operator!= (const C3DEdge &edge) const
 

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