Open CASCADE Technology  7.5.0
Static Public Member Functions
TopOpeBRepTool_ShapeTool Class Reference

#include <TopOpeBRepTool_ShapeTool.hxx>

Static Public Member Functions

static Standard_Real Tolerance (const TopoDS_Shape &S)
 Returns the tolerance of the shape <S>. If the shape <S> is Null, returns 0. More...
 
static gp_Pnt Pnt (const TopoDS_Shape &S)
 Returns 3D point of vertex <S>. More...
 
static Handle< Geom_CurveBASISCURVE (const Handle< Geom_Curve > &C)
 
static Handle< Geom_CurveBASISCURVE (const TopoDS_Edge &E)
 
static Handle< Geom_SurfaceBASISSURFACE (const Handle< Geom_Surface > &S)
 
static Handle< Geom_SurfaceBASISSURFACE (const TopoDS_Face &F)
 
static void UVBOUNDS (const Handle< Geom_Surface > &S, Standard_Boolean &UPeri, Standard_Boolean &VPeri, Standard_Real &Umin, Standard_Real &Umax, Standard_Real &Vmin, Standard_Real &Vmax)
 
static void UVBOUNDS (const TopoDS_Face &F, Standard_Boolean &UPeri, Standard_Boolean &VPeri, Standard_Real &Umin, Standard_Real &Umax, Standard_Real &Vmin, Standard_Real &Vmax)
 
static void AdjustOnPeriodic (const TopoDS_Shape &S, Standard_Real &u, Standard_Real &v)
 ajust u,v values in UVBounds of the domain of the geometric shape <S>, according to Uperiodicity and VPeriodicity of the domain. <S> is assumed to be a face. u and/or v is/are not modified when the domain is not periodic in U and/or V . More...
 
static Standard_Boolean Closed (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 indicates wheter shape S1 is a closing shape on S2 or not. More...
 
static Standard_Real PeriodizeParameter (const Standard_Real par, const TopoDS_Shape &EE, const TopoDS_Shape &FF)
 
static Standard_Boolean ShapesSameOriented (const TopoDS_Shape &S1, const TopoDS_Shape &S2)
 
static Standard_Boolean SurfacesSameOriented (const BRepAdaptor_Surface &S1, const BRepAdaptor_Surface &S2)
 
static Standard_Boolean FacesSameOriented (const TopoDS_Shape &F1, const TopoDS_Shape &F2)
 
static Standard_Boolean CurvesSameOriented (const BRepAdaptor_Curve &C1, const BRepAdaptor_Curve &C2)
 
static Standard_Boolean EdgesSameOriented (const TopoDS_Shape &E1, const TopoDS_Shape &E2)
 
static Standard_Real EdgeData (const BRepAdaptor_Curve &BRAC, const Standard_Real P, gp_Dir &T, gp_Dir &N, Standard_Real &C)
 Compute tangent T, normal N, curvature C at point of parameter P on curve BRAC. Returns the tolerance indicating if T,N are null. More...
 
static Standard_Real EdgeData (const TopoDS_Shape &E, const Standard_Real P, gp_Dir &T, gp_Dir &N, Standard_Real &C)
 Same as previous on edge E. More...
 
static Standard_Real Resolution3dU (const Handle< Geom_Surface > &SU, const Standard_Real Tol2d)
 
static Standard_Real Resolution3dV (const Handle< Geom_Surface > &SU, const Standard_Real Tol2d)
 
static Standard_Real Resolution3d (const Handle< Geom_Surface > &SU, const Standard_Real Tol2d)
 
static Standard_Real Resolution3d (const TopoDS_Face &F, const Standard_Real Tol2d)
 

Member Function Documentation

◆ AdjustOnPeriodic()

static void TopOpeBRepTool_ShapeTool::AdjustOnPeriodic ( const TopoDS_Shape S,
Standard_Real u,
Standard_Real v 
)
static

ajust u,v values in UVBounds of the domain of the geometric shape <S>, according to Uperiodicity and VPeriodicity of the domain. <S> is assumed to be a face. u and/or v is/are not modified when the domain is not periodic in U and/or V .

◆ BASISCURVE() [1/2]

static Handle< Geom_Curve > TopOpeBRepTool_ShapeTool::BASISCURVE ( const Handle< Geom_Curve > &  C)
static

◆ BASISCURVE() [2/2]

static Handle< Geom_Curve > TopOpeBRepTool_ShapeTool::BASISCURVE ( const TopoDS_Edge E)
static

◆ BASISSURFACE() [1/2]

static Handle< Geom_Surface > TopOpeBRepTool_ShapeTool::BASISSURFACE ( const Handle< Geom_Surface > &  S)
static

◆ BASISSURFACE() [2/2]

static Handle< Geom_Surface > TopOpeBRepTool_ShapeTool::BASISSURFACE ( const TopoDS_Face F)
static

◆ Closed()

static Standard_Boolean TopOpeBRepTool_ShapeTool::Closed ( const TopoDS_Shape S1,
const TopoDS_Shape S2 
)
static

indicates wheter shape S1 is a closing shape on S2 or not.

◆ CurvesSameOriented()

static Standard_Boolean TopOpeBRepTool_ShapeTool::CurvesSameOriented ( const BRepAdaptor_Curve C1,
const BRepAdaptor_Curve C2 
)
static

◆ EdgeData() [1/2]

static Standard_Real TopOpeBRepTool_ShapeTool::EdgeData ( const BRepAdaptor_Curve BRAC,
const Standard_Real  P,
gp_Dir T,
gp_Dir N,
Standard_Real C 
)
static

Compute tangent T, normal N, curvature C at point of parameter P on curve BRAC. Returns the tolerance indicating if T,N are null.

◆ EdgeData() [2/2]

static Standard_Real TopOpeBRepTool_ShapeTool::EdgeData ( const TopoDS_Shape E,
const Standard_Real  P,
gp_Dir T,
gp_Dir N,
Standard_Real C 
)
static

Same as previous on edge E.

◆ EdgesSameOriented()

static Standard_Boolean TopOpeBRepTool_ShapeTool::EdgesSameOriented ( const TopoDS_Shape E1,
const TopoDS_Shape E2 
)
static

◆ FacesSameOriented()

static Standard_Boolean TopOpeBRepTool_ShapeTool::FacesSameOriented ( const TopoDS_Shape F1,
const TopoDS_Shape F2 
)
static

◆ PeriodizeParameter()

static Standard_Real TopOpeBRepTool_ShapeTool::PeriodizeParameter ( const Standard_Real  par,
const TopoDS_Shape EE,
const TopoDS_Shape FF 
)
static

◆ Pnt()

static gp_Pnt TopOpeBRepTool_ShapeTool::Pnt ( const TopoDS_Shape S)
static

Returns 3D point of vertex <S>.

◆ Resolution3d() [1/2]

static Standard_Real TopOpeBRepTool_ShapeTool::Resolution3d ( const Handle< Geom_Surface > &  SU,
const Standard_Real  Tol2d 
)
static

◆ Resolution3d() [2/2]

static Standard_Real TopOpeBRepTool_ShapeTool::Resolution3d ( const TopoDS_Face F,
const Standard_Real  Tol2d 
)
static

◆ Resolution3dU()

static Standard_Real TopOpeBRepTool_ShapeTool::Resolution3dU ( const Handle< Geom_Surface > &  SU,
const Standard_Real  Tol2d 
)
static

◆ Resolution3dV()

static Standard_Real TopOpeBRepTool_ShapeTool::Resolution3dV ( const Handle< Geom_Surface > &  SU,
const Standard_Real  Tol2d 
)
static

◆ ShapesSameOriented()

static Standard_Boolean TopOpeBRepTool_ShapeTool::ShapesSameOriented ( const TopoDS_Shape S1,
const TopoDS_Shape S2 
)
static

◆ SurfacesSameOriented()

static Standard_Boolean TopOpeBRepTool_ShapeTool::SurfacesSameOriented ( const BRepAdaptor_Surface S1,
const BRepAdaptor_Surface S2 
)
static

◆ Tolerance()

static Standard_Real TopOpeBRepTool_ShapeTool::Tolerance ( const TopoDS_Shape S)
static

Returns the tolerance of the shape <S>. If the shape <S> is Null, returns 0.

◆ UVBOUNDS() [1/2]

static void TopOpeBRepTool_ShapeTool::UVBOUNDS ( const Handle< Geom_Surface > &  S,
Standard_Boolean UPeri,
Standard_Boolean VPeri,
Standard_Real Umin,
Standard_Real Umax,
Standard_Real Vmin,
Standard_Real Vmax 
)
static

◆ UVBOUNDS() [2/2]

static void TopOpeBRepTool_ShapeTool::UVBOUNDS ( const TopoDS_Face F,
Standard_Boolean UPeri,
Standard_Boolean VPeri,
Standard_Real Umin,
Standard_Real Umax,
Standard_Real Vmin,
Standard_Real Vmax 
)
static

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