mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-19 13:40:49 +03:00
0027207: New universal method for extracting of results of work of HLRBRep_Algo algorithm
This commit is contained in:
@@ -48,6 +48,15 @@ uses
|
||||
HLRTopoBRep
|
||||
|
||||
is
|
||||
|
||||
enumeration TypeOfResultingEdge is
|
||||
Undefined,
|
||||
IsoLine, -- isoparametric line
|
||||
OutLine, -- outline ("silhouette")
|
||||
Rg1Line, -- smooth edge of G1-continuity between two surfaces
|
||||
RgNLine, -- sewn edge of CN-continuity on one surface
|
||||
Sharp; -- sharp edge (of C0-continuity)
|
||||
|
||||
class CurveTool;
|
||||
class BCurveTool;
|
||||
class Curve;
|
||||
|
@@ -52,7 +52,8 @@ uses
|
||||
Curve from HLRBRep,
|
||||
Algo from HLRBRep,
|
||||
Data from HLRBRep,
|
||||
EdgeData from HLRBRep
|
||||
EdgeData from HLRBRep,
|
||||
TypeOfResultingEdge from HLRBRep
|
||||
|
||||
is
|
||||
Create(A : Algo from HLRBRep)
|
||||
@@ -60,6 +61,24 @@ is
|
||||
---Purpose: Constructs a framework for filtering the
|
||||
--- results of the HLRBRep_Algo algorithm, A.
|
||||
-- Use the extraction filters to obtain the results you want for A.
|
||||
|
||||
CompoundOfEdges(me : in out;
|
||||
type : TypeOfResultingEdge from HLRBRep;
|
||||
visible : Boolean from Standard;
|
||||
In3d : Boolean from Standard)
|
||||
returns Shape from TopoDS
|
||||
---C++: inline
|
||||
is static;
|
||||
|
||||
CompoundOfEdges(me : in out;
|
||||
S : Shape from TopoDS;
|
||||
type : TypeOfResultingEdge from HLRBRep;
|
||||
visible : Boolean from Standard;
|
||||
In3d : Boolean from Standard)
|
||||
returns Shape from TopoDS
|
||||
---C++: inline
|
||||
is static;
|
||||
|
||||
VCompound(me : in out) returns Shape from TopoDS
|
||||
---C++: inline
|
||||
is static;
|
||||
|
@@ -193,3 +193,26 @@ inline TopoDS_Shape HLRBRep_HLRToShape::IsoLineHCompound()
|
||||
inline TopoDS_Shape
|
||||
HLRBRep_HLRToShape::IsoLineHCompound(const TopoDS_Shape& S)
|
||||
{ return InternalCompound(1,Standard_False,S); }
|
||||
|
||||
//=======================================================================
|
||||
//function : CompoundOfEdges
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline TopoDS_Shape
|
||||
HLRBRep_HLRToShape::CompoundOfEdges(const HLRBRep_TypeOfResultingEdge type,
|
||||
const Standard_Boolean visible,
|
||||
const Standard_Boolean In3d)
|
||||
{ return InternalCompound(type,visible,TopoDS_Shape(),In3d); }
|
||||
|
||||
//=======================================================================
|
||||
//function : CompoundOfEdges
|
||||
//purpose :
|
||||
//=======================================================================
|
||||
|
||||
inline TopoDS_Shape
|
||||
HLRBRep_HLRToShape::CompoundOfEdges(const TopoDS_Shape& S,
|
||||
const HLRBRep_TypeOfResultingEdge type,
|
||||
const Standard_Boolean visible,
|
||||
const Standard_Boolean In3d)
|
||||
{ return InternalCompound(type,visible,S,In3d); }
|
||||
|
Reference in New Issue
Block a user