Open CASCADE Technology
6.5.4
|
API giving the following geometric information about fillets
list of corresponding NUBS surfaces
for each surface:
the 2 support faces
on each face: the 3d curve and the corresponding 2d curve
the 2d curves on the fillet
status of start and end section of the fillet
first and last parameter on edge of the fillet.
#include <FilletSurf_Builder.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | FilletSurf_Builder (const TopoDS_Shape &S, const TopTools_ListOfShape &E, const Standard_Real R, const Standard_Real Ta=1.0e-2, const Standard_Real Tapp3d=1.0e-4, const Standard_Real Tapp2d=1.0e-5) |
initialize of the informations necessary for the computation of the fillet on the Shape S from a list of edges E and a radius R. Ta is the angular tolerance Tapp3d is the 3d approximation tolerance Tapp2d is the 2d approximation tolerance | |
void | Perform () |
---Purpose computation of the fillet (list of NUBS) | |
void | Simulate () |
FilletSurf_StatusDone | IsDone () const |
gives the status about the computation of the fillet returns: IsOK :no problem during the computation IsNotOk: no result is produced IsPartial: the result is partial | |
FilletSurf_ErrorTypeStatus | StatusError () const |
gives informations about error status if IsDone=IsNotOk returns EdgeNotG1: the edges are not G1 FacesNotG1 : two connected faces on a same support are not G1 EdgeNotOnShape: the edge is not on shape NotSharpEdge: the edge is not sharp PbFilletCompute: problem during the computation of the fillet | |
Standard_Integer | NbSurface () const |
gives the number of NUBS surfaces of the Fillet. | |
const Handle_Geom_Surface & | SurfaceFillet (const Standard_Integer Index) const |
gives the NUBS surface of index Index. | |
Standard_Real | TolApp3d (const Standard_Integer Index) const |
gives the 3d tolerance reached during approximation of surface of index Index | |
const TopoDS_Face & | SupportFace1 (const Standard_Integer Index) const |
gives the first support face relative to SurfaceFillet(Index); | |
const TopoDS_Face & | SupportFace2 (const Standard_Integer Index) const |
gives the second support face relative to SurfaceFillet(Index); | |
const Handle_Geom_Curve & | CurveOnFace1 (const Standard_Integer Index) const |
gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index) | |
const Handle_Geom_Curve & | CurveOnFace2 (const Standard_Integer Index) const |
gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index) | |
const Handle_Geom2d_Curve & | PCurveOnFace1 (const Standard_Integer Index) const |
gives the PCurve associated to CurvOnSup1(Index) on the support face | |
const Handle_Geom2d_Curve & | PCurve1OnFillet (const Standard_Integer Index) const |
gives the PCurve associated to CurveOnFace1(Index) on the Fillet | |
const Handle_Geom2d_Curve & | PCurveOnFace2 (const Standard_Integer Index) const |
gives the PCurve associated to CurveOnSup2(Index) on the support face | |
const Handle_Geom2d_Curve & | PCurve2OnFillet (const Standard_Integer Index) const |
gives the PCurve associated to CurveOnSup2(Index) on the fillet | |
Standard_Real | FirstParameter () const |
gives the parameter of the fillet on the first edge. | |
Standard_Real | LastParameter () const |
gives the parameter of the fillet on the last edge | |
FilletSurf_StatusType | StartSectionStatus () const |
FilletSurf_StatusType | EndSectionStatus () const |
Standard_Integer | NbSection (const Standard_Integer IndexSurf) const |
void | Section (const Standard_Integer IndexSurf, const Standard_Integer IndexSec, Handle< Geom_TrimmedCurve > &Circ) const |
DEFINE_STANDARD_ALLOC FilletSurf_Builder::FilletSurf_Builder | ( | const TopoDS_Shape & | S, |
const TopTools_ListOfShape & | E, | ||
const Standard_Real | R, | ||
const Standard_Real | Ta = 1.0e-2 , |
||
const Standard_Real | Tapp3d = 1.0e-4 , |
||
const Standard_Real | Tapp2d = 1.0e-5 |
||
) |
const Handle_Geom_Curve& FilletSurf_Builder::CurveOnFace1 | ( | const Standard_Integer | Index | ) | const |
const Handle_Geom_Curve& FilletSurf_Builder::CurveOnFace2 | ( | const Standard_Integer | Index | ) | const |
Standard_Integer FilletSurf_Builder::NbSection | ( | const Standard_Integer | IndexSurf | ) | const |
const Handle_Geom2d_Curve& FilletSurf_Builder::PCurve1OnFillet | ( | const Standard_Integer | Index | ) | const |
const Handle_Geom2d_Curve& FilletSurf_Builder::PCurve2OnFillet | ( | const Standard_Integer | Index | ) | const |
const Handle_Geom2d_Curve& FilletSurf_Builder::PCurveOnFace1 | ( | const Standard_Integer | Index | ) | const |
const Handle_Geom2d_Curve& FilletSurf_Builder::PCurveOnFace2 | ( | const Standard_Integer | Index | ) | const |
void FilletSurf_Builder::Section | ( | const Standard_Integer | IndexSurf, |
const Standard_Integer | IndexSec, | ||
Handle< Geom_TrimmedCurve > & | Circ | ||
) | const |
const TopoDS_Face& FilletSurf_Builder::SupportFace1 | ( | const Standard_Integer | Index | ) | const |
const TopoDS_Face& FilletSurf_Builder::SupportFace2 | ( | const Standard_Integer | Index | ) | const |
const Handle_Geom_Surface& FilletSurf_Builder::SurfaceFillet | ( | const Standard_Integer | Index | ) | const |
Standard_Real FilletSurf_Builder::TolApp3d | ( | const Standard_Integer | Index | ) | const |