Open CASCADE Technology  7.3.0
Static Public Member Functions

ShapeConstruct Class Reference

This package provides new algorithms for constructing new geometrical objects and topological shapes. It complements and extends algorithms available in Open CASCADE topological and geometrical toolkist. The functionality provided by this package are the following: projecting curves on surface, adjusting curve to have given start and end points. P. More...

#include <ShapeConstruct.hxx>

Static Public Member Functions

static Handle< Geom_BSplineCurveConvertCurveToBSpline (const Handle< Geom_Curve > &C3D, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol3d, const GeomAbs_Shape Continuity, const Standard_Integer MaxSegments, const Standard_Integer MaxDegree)
 Tool for wire triangulation. More...
 
static Handle< Geom2d_BSplineCurveConvertCurveToBSpline (const Handle< Geom2d_Curve > &C2D, const Standard_Real First, const Standard_Real Last, const Standard_Real Tol2d, const GeomAbs_Shape Continuity, const Standard_Integer MaxSegments, const Standard_Integer MaxDegree)
 
static Handle< Geom_BSplineSurfaceConvertSurfaceToBSpline (const Handle< Geom_Surface > &surf, const Standard_Real UF, const Standard_Real UL, const Standard_Real VF, const Standard_Real VL, const Standard_Real Tol3d, const GeomAbs_Shape Continuity, const Standard_Integer MaxSegments, const Standard_Integer MaxDegree)
 
static Standard_Boolean JoinPCurves (const Handle< TopTools_HSequenceOfShape > &theEdges, const TopoDS_Face &theFace, TopoDS_Edge &theEdge)
 join pcurves of the <theEdge> on the <theFace> try to use pcurves from originas edges <theEdges> Returns false if cannot join pcurves More...
 
static Standard_Boolean JoinCurves (const Handle< Geom_Curve > &c3d1, const Handle< Geom_Curve > &ac3d2, const TopAbs_Orientation Orient1, const TopAbs_Orientation Orient2, Standard_Real &first1, Standard_Real &last1, Standard_Real &first2, Standard_Real &last2, Handle< Geom_Curve > &c3dOut, Standard_Boolean &isRev1, Standard_Boolean &isRev2)
 Method for joininig curves 3D. Parameters : c3d1,ac3d2 - initial curves Orient1, Orient2 - initial edges orientations. first1,last1,first2,last2 - parameters for trimming curves (re-calculate with account of orientation edges) c3dOut - result curve isRev1,isRev2 - out parameters indicative on possible errors. Return value : True - if curves were joined successfully, else - False. More...
 
static Standard_Boolean JoinCurves (const Handle< Geom2d_Curve > &c2d1, const Handle< Geom2d_Curve > &ac2d2, const TopAbs_Orientation Orient1, const TopAbs_Orientation Orient2, Standard_Real &first1, Standard_Real &last1, Standard_Real &first2, Standard_Real &last2, Handle< Geom2d_Curve > &c2dOut, Standard_Boolean &isRev1, Standard_Boolean &isRev2, const Standard_Boolean isError=Standard_False)
 Method for joininig curves 3D. Parameters : c3d1,ac3d2 - initial curves Orient1, Orient2 - initial edges orientations. first1,last1,first2,last2 - parameters for trimming curves (re-calculate with account of orientation edges) c3dOut - result curve isRev1,isRev2 - out parameters indicative on possible errors. isError - input parameter indicative possible errors due to that one from edges have one vertex Return value : True - if curves were joined successfully, else - False. More...
 

Detailed Description

This package provides new algorithms for constructing new geometrical objects and topological shapes. It complements and extends algorithms available in Open CASCADE topological and geometrical toolkist. The functionality provided by this package are the following: projecting curves on surface, adjusting curve to have given start and end points. P.

Member Function Documentation

◆ ConvertCurveToBSpline() [1/2]

static Handle< Geom_BSplineCurve > ShapeConstruct::ConvertCurveToBSpline ( const Handle< Geom_Curve > &  C3D,
const Standard_Real  First,
const Standard_Real  Last,
const Standard_Real  Tol3d,
const GeomAbs_Shape  Continuity,
const Standard_Integer  MaxSegments,
const Standard_Integer  MaxDegree 
)
static

Tool for wire triangulation.

◆ ConvertCurveToBSpline() [2/2]

static Handle< Geom2d_BSplineCurve > ShapeConstruct::ConvertCurveToBSpline ( const Handle< Geom2d_Curve > &  C2D,
const Standard_Real  First,
const Standard_Real  Last,
const Standard_Real  Tol2d,
const GeomAbs_Shape  Continuity,
const Standard_Integer  MaxSegments,
const Standard_Integer  MaxDegree 
)
static

◆ ConvertSurfaceToBSpline()

static Handle< Geom_BSplineSurface > ShapeConstruct::ConvertSurfaceToBSpline ( const Handle< Geom_Surface > &  surf,
const Standard_Real  UF,
const Standard_Real  UL,
const Standard_Real  VF,
const Standard_Real  VL,
const Standard_Real  Tol3d,
const GeomAbs_Shape  Continuity,
const Standard_Integer  MaxSegments,
const Standard_Integer  MaxDegree 
)
static

◆ JoinCurves() [1/2]

static Standard_Boolean ShapeConstruct::JoinCurves ( const Handle< Geom_Curve > &  c3d1,
const Handle< Geom_Curve > &  ac3d2,
const TopAbs_Orientation  Orient1,
const TopAbs_Orientation  Orient2,
Standard_Real first1,
Standard_Real last1,
Standard_Real first2,
Standard_Real last2,
Handle< Geom_Curve > &  c3dOut,
Standard_Boolean isRev1,
Standard_Boolean isRev2 
)
static

Method for joininig curves 3D. Parameters : c3d1,ac3d2 - initial curves Orient1, Orient2 - initial edges orientations. first1,last1,first2,last2 - parameters for trimming curves (re-calculate with account of orientation edges) c3dOut - result curve isRev1,isRev2 - out parameters indicative on possible errors. Return value : True - if curves were joined successfully, else - False.

◆ JoinCurves() [2/2]

static Standard_Boolean ShapeConstruct::JoinCurves ( const Handle< Geom2d_Curve > &  c2d1,
const Handle< Geom2d_Curve > &  ac2d2,
const TopAbs_Orientation  Orient1,
const TopAbs_Orientation  Orient2,
Standard_Real first1,
Standard_Real last1,
Standard_Real first2,
Standard_Real last2,
Handle< Geom2d_Curve > &  c2dOut,
Standard_Boolean isRev1,
Standard_Boolean isRev2,
const Standard_Boolean  isError = Standard_False 
)
static

Method for joininig curves 3D. Parameters : c3d1,ac3d2 - initial curves Orient1, Orient2 - initial edges orientations. first1,last1,first2,last2 - parameters for trimming curves (re-calculate with account of orientation edges) c3dOut - result curve isRev1,isRev2 - out parameters indicative on possible errors. isError - input parameter indicative possible errors due to that one from edges have one vertex Return value : True - if curves were joined successfully, else - False.

◆ JoinPCurves()

static Standard_Boolean ShapeConstruct::JoinPCurves ( const Handle< TopTools_HSequenceOfShape > &  theEdges,
const TopoDS_Face theFace,
TopoDS_Edge theEdge 
)
static

join pcurves of the <theEdge> on the <theFace> try to use pcurves from originas edges <theEdges> Returns false if cannot join pcurves


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