OCC Main Page | ModelingAlgorithms | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ModelingAlgorithms
TKShHealing
ShapeAnalysis


ShapeAnalysis Class Reference

This package is intended to analyze geometrical objects
and topological shapes. Analysis domain includes both
exploring geometrical and topological properties of
shapes and checking their conformance to Open CASCADE requirements.
The directions of analysis provided by tools of this package are:
computing quantities of subshapes,
computing parameters of points on curve and surface,
computing surface singularities,
checking edge and wire consistency,
checking edges order in the wire,
checking face bounds orientation,
checking small faces,
analyzing shape tolerances,
analyzing of free bounds of the shape.
.

#include <ShapeAnalysis.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)

Static Public Member Functions

static Standard_EXPORT TopoDS_Wire OuterWire (const TopoDS_Face &face)
 Returns the outer wire on the face <face>.
This is replacement of the method BRepTools::OuterWire
until it works badly.
Returns the first wire oriented as outer according to
FClass2d_Classifier. If none, last wire is returned.
.
static Standard_EXPORT Standard_Real TotCross2D (const Handle(ShapeExtend_WireData)&sewd, const TopoDS_Face &aFace)
 Returns a total area of 2d wire
.
static Standard_EXPORT Standard_Real ContourArea (const TopoDS_Wire &theWire)
 Returns a total area of 3d wire
.
static Standard_EXPORT Standard_Boolean IsOuterBound (const TopoDS_Face &face)
 Returns True if <f> has outer bound.
.
static Standard_EXPORT Standard_Real AdjustByPeriod (const Standard_Real Val, const Standard_Real ToVal, const Standard_Real Period)
 Returns a shift required to move point
<val> to the range [ToVal-Period/2,ToVal+Period/2].
This shift will be the divisible by Period.
Intended for adjusting parameters on periodic surfaces.
.
static Standard_EXPORT Standard_Real AdjustToPeriod (const Standard_Real Val, const Standard_Real ValMin, const Standard_Real ValMax)
 Returns a shift required to move point
<val> to the range [ValMin,ValMax].
This shift will be the divisible by Period
with Period = ValMax - ValMin.
Intended for adjusting parameters on periodic surfaces.
.
static Standard_EXPORT void FindBounds (const TopoDS_Shape &shape, TopoDS_Vertex &V1, TopoDS_Vertex &V2)
 Finds the start and end vertices of the shape
Shape can be of the following type:
vertex: V1 and V2 are the same and equal to <shape>,
edge : V1 is start and V2 is end vertex (see ShapeAnalysis_Edge
methods FirstVertex and LastVertex),
wire : V1 is start vertex of the first edge, V2 is end vertex
of the last edge (also see ShapeAnalysis_Edge).
If wire contains no edges V1 and V2 are nullified
If none of the above V1 and V2 are nullified
.
static Standard_EXPORT void GetFaceUVBounds (const TopoDS_Face &F, Standard_Real &Umin, Standard_Real &Umax, Standard_Real &Vmin, Standard_Real &Vmax)
 Computes exact UV bounds of all wires on the face
.


Member Function Documentation

static Standard_EXPORT Standard_Real ShapeAnalysis::AdjustByPeriod const Standard_Real  Val,
const Standard_Real  ToVal,
const Standard_Real  Period
[static]
 

static Standard_EXPORT Standard_Real ShapeAnalysis::AdjustToPeriod const Standard_Real  Val,
const Standard_Real  ValMin,
const Standard_Real  ValMax
[static]
 

static Standard_EXPORT Standard_Real ShapeAnalysis::ContourArea const TopoDS_Wire &  theWire  )  [static]
 

static Standard_EXPORT void ShapeAnalysis::FindBounds const TopoDS_Shape &  shape,
TopoDS_Vertex &  V1,
TopoDS_Vertex &  V2
[static]
 

static Standard_EXPORT void ShapeAnalysis::GetFaceUVBounds const TopoDS_Face &  F,
Standard_Real &  Umin,
Standard_Real &  Umax,
Standard_Real &  Vmin,
Standard_Real &  Vmax
[static]
 

static Standard_EXPORT Standard_Boolean ShapeAnalysis::IsOuterBound const TopoDS_Face &  face  )  [static]
 

void ShapeAnalysis::operator delete void *  anAddress  )  [inline]
 

void* ShapeAnalysis::operator new size_t  size  )  [inline]
 

void* ShapeAnalysis::operator new size_t  ,
void *  anAddress
[inline]
 

static Standard_EXPORT TopoDS_Wire ShapeAnalysis::OuterWire const TopoDS_Face &  face  )  [static]
 

static Standard_EXPORT Standard_Real ShapeAnalysis::TotCross2D const Handle(ShapeExtend_WireData)&  sewd,
const TopoDS_Face &  aFace
[static]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 13:42:33 2008 for OpenCASCADE by  doxygen 1.4.1