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

Auxiliary tools for offset algorithms. More...

#include <BRepOffset.hxx>

Static Public Member Functions

static occ::handle< Geom_SurfaceSurface (const occ::handle< Geom_Surface > &Surface, const double Offset, BRepOffset_Status &theStatus, bool allowC0=false)
 returns the Offset surface computed from the surface <Surface> at an OffsetDistance <Offset>.
 
static occ::handle< Geom_SurfaceCollapseSingularities (const occ::handle< Geom_Surface > &theSurface, const TopoDS_Face &theFace, double thePrecision)
 Preprocess surface to be offset (bspline, bezier, or revolution based on bspline or bezier curve), by collapsing each singular side to single point.
 

Detailed Description

Auxiliary tools for offset algorithms.

Member Function Documentation

◆ CollapseSingularities()

static occ::handle< Geom_Surface > BRepOffset::CollapseSingularities ( const occ::handle< Geom_Surface > & theSurface,
const TopoDS_Face & theFace,
double thePrecision )
static

Preprocess surface to be offset (bspline, bezier, or revolution based on bspline or bezier curve), by collapsing each singular side to single point.

This is to avoid possible flipping of normal at the singularity of the surface due to non-zero distance between the poles that logically should be in one point (singularity).

The (parametric) side of the surface is considered to be singularity if face has degenerated edge whose vertex encompasses (by its tolerance) all points on that side, or if all poles defining that side fit into sphere with radius thePrecision.

Returns either original surface or its modified copy (if some poles have been moved).

◆ Surface()

static occ::handle< Geom_Surface > BRepOffset::Surface ( const occ::handle< Geom_Surface > & Surface,
const double Offset,
BRepOffset_Status & theStatus,
bool allowC0 = false )
static

returns the Offset surface computed from the surface <Surface> at an OffsetDistance <Offset>.

If possible, this method returns the real type of the surface ( e.g. An Offset of a plane is a plane).

If no particular case is detected, the returned surface will have the Type Geom_OffsetSurface. Parameter allowC0 is then passed as last argument to constructor of Geom_OffsetSurface.


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