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
|
HLRTopoBRep
|
||||||
|
|
||||||
is
|
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 CurveTool;
|
||||||
class BCurveTool;
|
class BCurveTool;
|
||||||
class Curve;
|
class Curve;
|
||||||
|
@@ -52,7 +52,8 @@ uses
|
|||||||
Curve from HLRBRep,
|
Curve from HLRBRep,
|
||||||
Algo from HLRBRep,
|
Algo from HLRBRep,
|
||||||
Data from HLRBRep,
|
Data from HLRBRep,
|
||||||
EdgeData from HLRBRep
|
EdgeData from HLRBRep,
|
||||||
|
TypeOfResultingEdge from HLRBRep
|
||||||
|
|
||||||
is
|
is
|
||||||
Create(A : Algo from HLRBRep)
|
Create(A : Algo from HLRBRep)
|
||||||
@@ -60,6 +61,24 @@ is
|
|||||||
---Purpose: Constructs a framework for filtering the
|
---Purpose: Constructs a framework for filtering the
|
||||||
--- results of the HLRBRep_Algo algorithm, A.
|
--- results of the HLRBRep_Algo algorithm, A.
|
||||||
-- Use the extraction filters to obtain the results you want for 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
|
VCompound(me : in out) returns Shape from TopoDS
|
||||||
---C++: inline
|
---C++: inline
|
||||||
is static;
|
is static;
|
||||||
|
@@ -193,3 +193,26 @@ inline TopoDS_Shape HLRBRep_HLRToShape::IsoLineHCompound()
|
|||||||
inline TopoDS_Shape
|
inline TopoDS_Shape
|
||||||
HLRBRep_HLRToShape::IsoLineHCompound(const TopoDS_Shape& S)
|
HLRBRep_HLRToShape::IsoLineHCompound(const TopoDS_Shape& S)
|
||||||
{ return InternalCompound(1,Standard_False,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