Open CASCADE Technology
7.1.0.beta
|
This class contains the algorithm used to build fillet on planar wire. More...
#include <ChFi2d_Builder.hxx>
Public Member Functions | |
ChFi2d_Builder () | |
ChFi2d_Builder (const TopoDS_Face &F) | |
The face <F> can be build on a closed or an open wire. More... | |
void | Init (const TopoDS_Face &F) |
void | Init (const TopoDS_Face &RefFace, const TopoDS_Face &ModFace) |
TopoDS_Edge | AddFillet (const TopoDS_Vertex &V, const Standard_Real Radius) |
Add a fillet of radius <Radius> on the wire between the two edges connected to the vertex <V>. <AddFillet> returns the fillet edge. The returned edge has sense only if the status <status> is <IsDone> More... | |
TopoDS_Edge | ModifyFillet (const TopoDS_Edge &Fillet, const Standard_Real Radius) |
modify the fillet radius and return the new fillet edge. this edge has sense only if the status <status> is <IsDone>. More... | |
TopoDS_Vertex | RemoveFillet (const TopoDS_Edge &Fillet) |
removes the fillet <Fillet> and returns the vertex connecting the two adjacent edges to this fillet. More... | |
TopoDS_Edge | AddChamfer (const TopoDS_Edge &E1, const TopoDS_Edge &E2, const Standard_Real D1, const Standard_Real D2) |
Add a chamfer on the wire between the two edges connected <E1> and <E2>. <AddChamfer> returns the chamfer edge. This edge has sense only if the status <status> is <IsDone>. More... | |
TopoDS_Edge | AddChamfer (const TopoDS_Edge &E, const TopoDS_Vertex &V, const Standard_Real D, const Standard_Real Ang) |
Add a chamfer on the wire between the two edges connected to the vertex <V>. The chamfer will make an angle <Ang> with the edge <E>, and one of its extremities will be on <E> at distance <D>. The returned edge has sense only if the status <status> is <IsDone>. Warning: The value of <Ang> must be expressed in Radian. More... | |
TopoDS_Edge | ModifyChamfer (const TopoDS_Edge &Chamfer, const TopoDS_Edge &E1, const TopoDS_Edge &E2, const Standard_Real D1, const Standard_Real D2) |
modify the chamfer <Chamfer> and returns the new chamfer edge. This edge as sense only if the status <status> is <IsDone>. More... | |
TopoDS_Edge | ModifyChamfer (const TopoDS_Edge &Chamfer, const TopoDS_Edge &E, const Standard_Real D, const Standard_Real Ang) |
modify the chamfer <Chamfer> and returns the new chamfer edge. This edge as sense only if the status <status> is <IsDone>. Warning: The value of <Ang> must be expressed in Radian. More... | |
TopoDS_Vertex | RemoveChamfer (const TopoDS_Edge &Chamfer) |
removes the chamfer <Chamfer> and returns the vertex connecting the two adjacent edges to this chamfer. More... | |
TopoDS_Face | Result () const |
returns the modified face More... | |
Standard_Boolean | IsModified (const TopoDS_Edge &E) const |
const TopTools_SequenceOfShape & | FilletEdges () const |
returns the list of new edges More... | |
Standard_Integer | NbFillet () const |
const TopTools_SequenceOfShape & | ChamferEdges () const |
returns the list of new edges More... | |
Standard_Integer | NbChamfer () const |
Standard_Boolean | HasDescendant (const TopoDS_Edge &E) const |
const TopoDS_Edge & | DescendantEdge (const TopoDS_Edge &E) const |
returns the modified edge if <E> has descendant or <E> in the other case. More... | |
const TopoDS_Edge & | BasisEdge (const TopoDS_Edge &E) const |
Returns the parent edge of <E> Warning: If <E>is a basis edge, the returned edge would be equal to <E> More... | |
ChFi2d_ConstructionError | Status () const |
This class contains the algorithm used to build fillet on planar wire.
ChFi2d_Builder::ChFi2d_Builder | ( | ) |
ChFi2d_Builder::ChFi2d_Builder | ( | const TopoDS_Face & | F | ) |
The face <F> can be build on a closed or an open wire.
TopoDS_Edge ChFi2d_Builder::AddChamfer | ( | const TopoDS_Edge & | E1, |
const TopoDS_Edge & | E2, | ||
const Standard_Real | D1, | ||
const Standard_Real | D2 | ||
) |
Add a chamfer on the wire between the two edges connected <E1> and <E2>. <AddChamfer> returns the chamfer edge. This edge has sense only if the status <status> is <IsDone>.
TopoDS_Edge ChFi2d_Builder::AddChamfer | ( | const TopoDS_Edge & | E, |
const TopoDS_Vertex & | V, | ||
const Standard_Real | D, | ||
const Standard_Real | Ang | ||
) |
Add a chamfer on the wire between the two edges connected to the vertex <V>. The chamfer will make an angle <Ang> with the edge <E>, and one of its extremities will be on <E> at distance <D>. The returned edge has sense only if the status <status> is <IsDone>. Warning: The value of <Ang> must be expressed in Radian.
TopoDS_Edge ChFi2d_Builder::AddFillet | ( | const TopoDS_Vertex & | V, |
const Standard_Real | Radius | ||
) |
Add a fillet of radius <Radius> on the wire between the two edges connected to the vertex <V>. <AddFillet> returns the fillet edge. The returned edge has sense only if the status <status> is <IsDone>
const TopoDS_Edge& ChFi2d_Builder::BasisEdge | ( | const TopoDS_Edge & | E | ) | const |
Returns the parent edge of <E> Warning: If <E>is a basis edge, the returned edge would be equal to <E>
const TopTools_SequenceOfShape& ChFi2d_Builder::ChamferEdges | ( | ) | const |
returns the list of new edges
const TopoDS_Edge& ChFi2d_Builder::DescendantEdge | ( | const TopoDS_Edge & | E | ) | const |
returns the modified edge if <E> has descendant or <E> in the other case.
const TopTools_SequenceOfShape& ChFi2d_Builder::FilletEdges | ( | ) | const |
returns the list of new edges
Standard_Boolean ChFi2d_Builder::HasDescendant | ( | const TopoDS_Edge & | E | ) | const |
void ChFi2d_Builder::Init | ( | const TopoDS_Face & | F | ) |
void ChFi2d_Builder::Init | ( | const TopoDS_Face & | RefFace, |
const TopoDS_Face & | ModFace | ||
) |
Standard_Boolean ChFi2d_Builder::IsModified | ( | const TopoDS_Edge & | E | ) | const |
TopoDS_Edge ChFi2d_Builder::ModifyChamfer | ( | const TopoDS_Edge & | Chamfer, |
const TopoDS_Edge & | E1, | ||
const TopoDS_Edge & | E2, | ||
const Standard_Real | D1, | ||
const Standard_Real | D2 | ||
) |
modify the chamfer <Chamfer> and returns the new chamfer edge. This edge as sense only if the status <status> is <IsDone>.
TopoDS_Edge ChFi2d_Builder::ModifyChamfer | ( | const TopoDS_Edge & | Chamfer, |
const TopoDS_Edge & | E, | ||
const Standard_Real | D, | ||
const Standard_Real | Ang | ||
) |
modify the chamfer <Chamfer> and returns the new chamfer edge. This edge as sense only if the status <status> is <IsDone>. Warning: The value of <Ang> must be expressed in Radian.
TopoDS_Edge ChFi2d_Builder::ModifyFillet | ( | const TopoDS_Edge & | Fillet, |
const Standard_Real | Radius | ||
) |
modify the fillet radius and return the new fillet edge. this edge has sense only if the status <status> is <IsDone>.
Standard_Integer ChFi2d_Builder::NbChamfer | ( | ) | const |
Standard_Integer ChFi2d_Builder::NbFillet | ( | ) | const |
TopoDS_Vertex ChFi2d_Builder::RemoveChamfer | ( | const TopoDS_Edge & | Chamfer | ) |
removes the chamfer <Chamfer> and returns the vertex connecting the two adjacent edges to this chamfer.
TopoDS_Vertex ChFi2d_Builder::RemoveFillet | ( | const TopoDS_Edge & | Fillet | ) |
removes the fillet <Fillet> and returns the vertex connecting the two adjacent edges to this fillet.
TopoDS_Face ChFi2d_Builder::Result | ( | ) | const |
returns the modified face
ChFi2d_ConstructionError ChFi2d_Builder::Status | ( | ) | const |