Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Public Member Functions
FilletSurf_Builder Class Reference

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. More...

#include <FilletSurf_Builder.hxx>

Public Member Functions

 FilletSurf_Builder (const TopoDS_Shape &S, const NCollection_List< TopoDS_Shape > &E, const double R, const double Ta=1.0e-2, const double Tapp3d=1.0e-4, const double Tapp2d=1.0e-5)
 initialize of the information necessary for the computation of the fillet on the Shape S from a list of edges E and a radius R.
 
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 information 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
 
int NbSurface () const
 gives the number of NUBS surfaces of the Fillet.
 
occ::handle< Geom_TrimmedCurveSection (const int IndexSurf, const int IndexSec) const
 Returns the arc of the section of index IndexSec of surface of index IndexSurf. The basis curve of the trimmed curve is a Geom_Circle.
 
void Section (const int IndexSurf, const int IndexSec, occ::handle< Geom_TrimmedCurve > &Circ) const
 
const occ::handle< Geom_Surface > & SurfaceFillet (const int Index) const
 gives the NUBS surface of index Index.
 
double TolApp3d (const int Index) const
 gives the 3d tolerance reached during approximation of surface of index Index
 
const TopoDS_FaceSupportFace1 (const int Index) const
 gives the first support face relative to SurfaceFillet(Index);
 
const TopoDS_FaceSupportFace2 (const int Index) const
 gives the second support face relative to SurfaceFillet(Index);
 
const occ::handle< Geom_Curve > & CurveOnFace1 (const int Index) const
 gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index)
 
const occ::handle< Geom_Curve > & CurveOnFace2 (const int Index) const
 gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index)
 
const occ::handle< Geom2d_Curve > & PCurveOnFace1 (const int Index) const
 gives the PCurve associated to CurvOnSup1(Index) on the support face
 
const occ::handle< Geom2d_Curve > & PCurve1OnFillet (const int Index) const
 gives the PCurve associated to CurveOnFace1(Index) on the Fillet
 
const occ::handle< Geom2d_Curve > & PCurveOnFace2 (const int Index) const
 gives the PCurve associated to CurveOnSup2(Index) on the support face
 
const occ::handle< Geom2d_Curve > & PCurve2OnFillet (const int Index) const
 gives the PCurve associated to CurveOnSup2(Index) on the fillet
 
double FirstParameter () const
 gives the parameter of the fillet on the first edge.
 
double LastParameter () const
 gives the parameter of the fillet on the last edge
 
FilletSurf_StatusType StartSectionStatus () const
 
FilletSurf_StatusType EndSectionStatus () const
 
int NbSection (const int IndexSurf) const
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ FilletSurf_Builder()

FilletSurf_Builder::FilletSurf_Builder ( const TopoDS_Shape & S,
const NCollection_List< TopoDS_Shape > & E,
const double R,
const double Ta = 1.0e-2,
const double Tapp3d = 1.0e-4,
const double Tapp2d = 1.0e-5 )

initialize of the information 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

Member Function Documentation

◆ CurveOnFace1()

const occ::handle< Geom_Curve > & FilletSurf_Builder::CurveOnFace1 ( const int Index) const

gives the 3d curve of SurfaceFillet(Index) on SupportFace1(Index)

◆ CurveOnFace2()

const occ::handle< Geom_Curve > & FilletSurf_Builder::CurveOnFace2 ( const int Index) const

gives the 3d curve of SurfaceFillet(Index) on SupportFace2(Index)

◆ EndSectionStatus()

FilletSurf_StatusType FilletSurf_Builder::EndSectionStatus ( ) const

◆ FirstParameter()

double FilletSurf_Builder::FirstParameter ( ) const

gives the parameter of the fillet on the first edge.

◆ IsDone()

FilletSurf_StatusDone FilletSurf_Builder::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

◆ LastParameter()

double FilletSurf_Builder::LastParameter ( ) const

gives the parameter of the fillet on the last edge

◆ NbSection()

int FilletSurf_Builder::NbSection ( const int IndexSurf) const

◆ NbSurface()

int FilletSurf_Builder::NbSurface ( ) const

gives the number of NUBS surfaces of the Fillet.

◆ PCurve1OnFillet()

const occ::handle< Geom2d_Curve > & FilletSurf_Builder::PCurve1OnFillet ( const int Index) const

gives the PCurve associated to CurveOnFace1(Index) on the Fillet

◆ PCurve2OnFillet()

const occ::handle< Geom2d_Curve > & FilletSurf_Builder::PCurve2OnFillet ( const int Index) const

gives the PCurve associated to CurveOnSup2(Index) on the fillet

◆ PCurveOnFace1()

const occ::handle< Geom2d_Curve > & FilletSurf_Builder::PCurveOnFace1 ( const int Index) const

gives the PCurve associated to CurvOnSup1(Index) on the support face

◆ PCurveOnFace2()

const occ::handle< Geom2d_Curve > & FilletSurf_Builder::PCurveOnFace2 ( const int Index) const

gives the PCurve associated to CurveOnSup2(Index) on the support face

◆ Perform()

void FilletSurf_Builder::Perform ( )

—Purpose computation of the fillet (list of NUBS)

◆ Section() [1/2]

occ::handle< Geom_TrimmedCurve > FilletSurf_Builder::Section ( const int IndexSurf,
const int IndexSec ) const

Returns the arc of the section of index IndexSec of surface of index IndexSurf. The basis curve of the trimmed curve is a Geom_Circle.

Parameters
[in]IndexSurf1-based surface index
[in]IndexSec1-based section index
Returns
the section as a trimmed circular arc

◆ Section() [2/2]

void FilletSurf_Builder::Section ( const int IndexSurf,
const int IndexSec,
occ::handle< Geom_TrimmedCurve > & Circ ) const
Deprecated

Use Section() returning handle by value instead.

("Use Section() returning handle by value instead")

◆ Simulate()

void FilletSurf_Builder::Simulate ( )

◆ StartSectionStatus()

FilletSurf_StatusType FilletSurf_Builder::StartSectionStatus ( ) const

◆ StatusError()

FilletSurf_ErrorTypeStatus FilletSurf_Builder::StatusError ( ) const

gives information 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

◆ SupportFace1()

const TopoDS_Face & FilletSurf_Builder::SupportFace1 ( const int Index) const

gives the first support face relative to SurfaceFillet(Index);

◆ SupportFace2()

const TopoDS_Face & FilletSurf_Builder::SupportFace2 ( const int Index) const

gives the second support face relative to SurfaceFillet(Index);

◆ SurfaceFillet()

const occ::handle< Geom_Surface > & FilletSurf_Builder::SurfaceFillet ( const int Index) const

gives the NUBS surface of index Index.

◆ TolApp3d()

double FilletSurf_Builder::TolApp3d ( const int Index) const

gives the 3d tolerance reached during approximation of surface of index Index


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