C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
contour_graph.h File Reference

Contours construction. More...

#include <templ_p_array.h>
#include <cur_contour.h>
#include <curve.h>
#include <map>

Classes

class  MpVertex
 Vertex. More...
 
class  MpEdge
 Edge. More...
 
class  MpLoop
 Loop. More...
 
class  MpGraph
 Contours construction graph. More...
 

Functions

void DeleteVertex (MpVertex *&vertex)
 Delete a vertex. More...
 
void DeleteEdge (MpEdge *&edge)
 Delete an edge. More...
 
void DeleteLoop (MpLoop *&loop)
 Delete a loop. More...
 
void DeleteGraph (MpGraph *&graph)
 Delete a graph. More...
 
bool RemoveContourGaps (MbContour &contour, double accuracy, bool canInsert, bool canReplace)
 Remove contour gaps. More...
 
MpGraphEncloseContoursBuilder (const RPArray< MbCurve > &curveList, const MbCartPoint &p, PArray< MbCurve > &usedCurves, PArray< MbContour > &contourArray, double accuracy, bool strict, VERSION version, IProgressIndicator *progInd=nullptr)
 Create contours around the given point. More...
 
MpGraphEncloseContoursBuilder (const c3d::PlaneCurvesSPtrVector &curveList, const MbCartPoint &p, c3d::PlaneCurvesSPtrVector &usedCurves, c3d::PlaneContoursSPtrVector &contourArray, double accuracy, bool strict, VERSION version, IProgressIndicator *progInd=nullptr)
 Create contours around the given point. More...
 
MpGraphOuterContoursBuilder (const RPArray< MbCurve > &curveList, PArray< MbContour > &contourArray, double accuracy, bool strict, VERSION version, IProgressIndicator *progInd=nullptr)
 Construct enclosing contours on the basis of the given curves. More...
 
MpGraphOuterContoursBuilder (const c3d::PlaneCurvesSPtrVector &curveList, c3d::PlaneContoursSPtrVector &contourArray, double accuracy, bool strict, VERSION version, IProgressIndicator *progInd=nullptr)
 Construct enclosing contours on the basis of the given curves. More...
 
MpGraphContoursReconstructor (const RPArray< MbCurve > &curveList, MpGraph *graph, PArray< MbContour > &contourArray, double accuracy, bool strict, VERSION version, IProgressIndicator *progInd=nullptr)
 Reconstruct contours constructed around the point before. More...
 
MpGraphContoursReconstructor (const c3d::PlaneCurvesSPtrVector &curveList, MpGraph *graph, c3d::PlaneContoursSPtrVector contourArray, double accuracy, bool strict, VERSION version, IProgressIndicator *progInd=nullptr)
 Reconstruct contours constructed around the point before. More...
 

Detailed Description

Contours construction.

Function Documentation

◆ DeleteVertex()

void DeleteVertex ( MpVertex *&  vertex)
inline

Delete a vertex.

Delete a vertex and set the pointer to null.

Parameters
[in,out]vertex- A vertex to delete.

◆ DeleteEdge()

void DeleteEdge ( MpEdge *&  edge)
inline

Delete an edge.

Delete an edge and set the pointer to null.

Parameters
[in,out]edge- An edge to delete.

◆ DeleteLoop()

void DeleteLoop ( MpLoop *&  loop)
inline

Delete a loop.

Delete a loop and set the pointer to null.

Parameters
[in,out]loop- A loop to delete.

◆ DeleteGraph()

void DeleteGraph ( MpGraph *&  graph)
inline

Delete a graph.

Delete a graph and set the pointer to null.

Parameters
[in,out]graph- A graph to delete.