More porting work
This commit is contained in:
@@ -26,6 +26,30 @@ class TriangleMesh
|
||||
stl_file stl;
|
||||
};
|
||||
|
||||
enum FacetEdgeType { feNone, feTop, feBottom };
|
||||
|
||||
class IntersectionPoint : public Point
|
||||
{
|
||||
public:
|
||||
int point_id;
|
||||
int edge_id;
|
||||
IntersectionPoint() : point_id(-1), edge_id(-1) {};
|
||||
};
|
||||
|
||||
class IntersectionLine
|
||||
{
|
||||
public:
|
||||
Point a;
|
||||
Point b;
|
||||
int a_id;
|
||||
int b_id;
|
||||
int edge_a_id;
|
||||
int edge_b_id;
|
||||
FacetEdgeType edge_type;
|
||||
IntersectionLine() : a_id(-1), b_id(-1), edge_a_id(-1), edge_b_id(-1), edge_type(feNone) {};
|
||||
};
|
||||
typedef std::vector<IntersectionLine> IntersectionLines;
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user