Version: 9.13.0
CurveCreator_Utils.cxx File Reference
#include <Basics_OCCTVersion.hxx>
#include "CurveCreator_Utils.hxx"
#include "CurveCreator.hxx"
#include "CurveCreator_Curve.hxx"
#include "CurveCreator_Section.hxx"
#include "CurveCreator_UtilsICurve.hxx"
#include <GEOMUtils.hxx>
#include <gp_Pln.hxx>
#include <TopoDS.hxx>
#include <TopoDS_Vertex.hxx>
#include <TopoDS_Wire.hxx>
#include <TopoDS_Edge.hxx>
#include <TopoDS_Compound.hxx>
#include <AIS_ListOfInteractive.hxx>
#include <AIS_ListIteratorOfListOfInteractive.hxx>
#include <AIS_Shape.hxx>
#include <AIS_Line.hxx>
#include <AIS_Trihedron.hxx>
#include <Geom_Point.hxx>
#include <Geom_BSplineCurve.hxx>
#include <Geom_Line.hxx>
#include <Geom_Curve.hxx>
#include <Geom_TrimmedCurve.hxx>
#include <TopExp.hxx>
#include <TopExp_Explorer.hxx>
#include <TopTools_ListIteratorOfListOfShape.hxx>
#include <GeomAPI_ProjectPointOnCurve.hxx>
#include <SelectMgr_EntityOwner.hxx>
#include <SelectMgr_Selection.hxx>
#include <Select3D_SensitivePoint.hxx>
#include <BRep_Tool.hxx>
#include <BRep_Builder.hxx>
#include <BRepBuilderAPI_MakeVertex.hxx>
#include <BRepBuilderAPI_MakeEdge.hxx>
#include <BRepBuilderAPI_MakeWire.hxx>
#include <BRepTools_WireExplorer.hxx>
#include <TColgp_HArray1OfPnt.hxx>
#include <TColStd_HArray1OfBoolean.hxx>
#include <TColStd_Array1OfReal.hxx>
#include <TColgp_Array1OfVec.hxx>
#include <GeomAPI_Interpolate.hxx>
#include <ProjLib.hxx>
#include <ElSLib.hxx>
#include <math.h>
#include "CurveCreator_ICurve.hxx"

Classes

struct  Section3D
 This is an intermediate structure for curve construction. More...
 
class  CompareSectionToPoint
 

Macros

#define PLN_FREE   0
 
#define PLN_ORIGIN   1
 
#define PLN_OX   2
 
#define PLN_FIXED   3
 

Functions

static Handle (Geom_Curve) GetCurve(const TopoDS_Edge &theEdge)
 This static function returns the curve of original type from the edge. More...
 
 Handle (TColgp_HArray1OfPnt) CurveCreator_Utils
 

Variables

const double LOCAL_SELECTION_TOLERANCE = 0.0001
 
const int SCENE_PIXEL_PROJECTION_TOLERANCE = 10
 
const int SCENE_PIXEL_POINT_TOLERANCE = 5
 

Macro Definition Documentation

◆ PLN_FIXED

#define PLN_FIXED   3

◆ PLN_FREE

#define PLN_FREE   0

◆ PLN_ORIGIN

#define PLN_ORIGIN   1

◆ PLN_OX

#define PLN_OX   2

Function Documentation

◆ Handle() [1/2]

static Handle ( Geom_Curve  ) const &
static
Parameters
theEdgethe edge
Returns
the curve of original type. Can be null handle.

References aResult.

◆ Handle() [2/2]

Variable Documentation

◆ LOCAL_SELECTION_TOLERANCE

const double LOCAL_SELECTION_TOLERANCE = 0.0001

◆ SCENE_PIXEL_POINT_TOLERANCE

const int SCENE_PIXEL_POINT_TOLERANCE = 5

◆ SCENE_PIXEL_PROJECTION_TOLERANCE

const int SCENE_PIXEL_PROJECTION_TOLERANCE = 10