Open CASCADE Technology
7.4.0
|
Auxiliary class providing functionality to compute, retrieve and store data to TopoDS and model shape. More...
#include <BRepMesh_ShapeTool.hxx>
Static Public Member Functions | |
static Standard_Real | MaxFaceTolerance (const TopoDS_Face &theFace) |
Returns maximum tolerance of the given face. Considers tolerances of edges and vertices contained in the given face. More... | |
static void | BoxMaxDimension (const Bnd_Box &theBox, Standard_Real &theMaxDimension) |
Gets the maximum dimension of the given bounding box. If the given bounding box is void leaves the resulting value unchanged. More... | |
static void | CheckAndUpdateFlags (const IMeshData::IEdgeHandle &theEdge, const IMeshData::IPCurveHandle &thePCurve) |
Checks same parameter, same range and degenerativity attributes using geometrical data of the given edge and updates edge model by computed parameters in case of worst case - it can drop flags same parameter and same range to False but never to True if it is already set to False. In contrary, it can also drop degenerated flag to True, but never to False if it is already set to True. More... | |
static void | AddInFace (const TopoDS_Face &theFace, Handle< Poly_Triangulation > &theTriangulation) |
Stores the given triangulation into the given face. More... | |
static void | NullifyFace (const TopoDS_Face &theFace) |
Nullifies triangulation stored in the face. More... | |
static void | NullifyEdge (const TopoDS_Edge &theEdge, const Handle< Poly_Triangulation > &theTriangulation, const TopLoc_Location &theLocation) |
Nullifies polygon on triangulation stored in the edge. More... | |
static void | NullifyEdge (const TopoDS_Edge &theEdge, const TopLoc_Location &theLocation) |
Nullifies 3d polygon stored in the edge. More... | |
static void | UpdateEdge (const TopoDS_Edge &theEdge, const Handle< Poly_PolygonOnTriangulation > &thePolygon, const Handle< Poly_Triangulation > &theTriangulation, const TopLoc_Location &theLocation) |
Updates the given edge by the given tessellated representation. More... | |
static void | UpdateEdge (const TopoDS_Edge &theEdge, const Handle< Poly_Polygon3D > &thePolygon) |
Updates the given edge by the given tessellated representation. More... | |
static void | UpdateEdge (const TopoDS_Edge &theEdge, const Handle< Poly_PolygonOnTriangulation > &thePolygon1, const Handle< Poly_PolygonOnTriangulation > &thePolygon2, const Handle< Poly_Triangulation > &theTriangulation, const TopLoc_Location &theLocation) |
Updates the given seam edge by the given tessellated representations. More... | |
static gp_Pnt | UseLocation (const gp_Pnt &thePnt, const TopLoc_Location &theLoc) |
Applies location to the given point and return result. More... | |
static Standard_Boolean | UVPoints (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace, gp_Pnt2d &theFirstPoint2d, gp_Pnt2d &theLastPoint2d, const Standard_Boolean isConsiderOrientation=Standard_False) |
Gets the strict UV locations of the extremities of the edge using pcurve. More... | |
static Standard_Boolean | Range (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace, Handle< Geom2d_Curve > &thePCurve, Standard_Real &theFirstParam, Standard_Real &theLastParam, const Standard_Boolean isConsiderOrientation=Standard_False) |
Gets the parametric range of the given edge on the given face. More... | |
static Standard_Boolean | Range (const TopoDS_Edge &theEdge, Handle< Geom_Curve > &theCurve, Standard_Real &theFirstParam, Standard_Real &theLastParam, const Standard_Boolean isConsiderOrientation=Standard_False) |
Gets the 3d range of the given edge. More... | |
Static Public Member Functions inherited from Standard_Transient | |
static const char * | get_type_name () |
Returns a type descriptor about this object. More... | |
static const opencascade::handle< Standard_Type > & | get_type_descriptor () |
Returns type descriptor of Standard_Transient class. More... | |
Additional Inherited Members | |
Public Types inherited from Standard_Transient | |
typedef void | base_type |
Returns a type descriptor about this object. More... | |
Public Member Functions inherited from Standard_Transient | |
Standard_Transient () | |
Empty constructor. More... | |
Standard_Transient (const Standard_Transient &) | |
Copy constructor – does nothing. More... | |
Standard_Transient & | operator= (const Standard_Transient &) |
Assignment operator, needed to avoid copying reference counter. More... | |
virtual | ~Standard_Transient () |
Destructor must be virtual. More... | |
virtual void | Delete () const |
Memory deallocator for transient classes. More... | |
virtual const opencascade::handle< Standard_Type > & | DynamicType () const |
Returns a type descriptor about this object. More... | |
Standard_Boolean | IsInstance (const opencascade::handle< Standard_Type > &theType) const |
Returns a true value if this is an instance of Type. More... | |
Standard_Boolean | IsInstance (const Standard_CString theTypeName) const |
Returns a true value if this is an instance of TypeName. More... | |
Standard_Boolean | IsKind (const opencascade::handle< Standard_Type > &theType) const |
Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
Standard_Boolean | IsKind (const Standard_CString theTypeName) const |
Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism. More... | |
Standard_Transient * | This () const |
Returns non-const pointer to this object (like const_cast). For protection against creating handle to objects allocated in stack or call from constructor, it will raise exception Standard_ProgramError if reference counter is zero. More... | |
Standard_Integer | GetRefCount () const |
Get the reference counter of this object. More... | |
void | IncrementRefCounter () const |
Increments the reference counter of this object. More... | |
Standard_Integer | DecrementRefCounter () const |
Decrements the reference counter of this object; returns the decremented value. More... | |
Auxiliary class providing functionality to compute, retrieve and store data to TopoDS and model shape.
|
static |
Stores the given triangulation into the given face.
theFace | face to be updated by triangulation. |
theTriangulation | triangulation to be stored into the face. |
|
static |
Gets the maximum dimension of the given bounding box. If the given bounding box is void leaves the resulting value unchanged.
theBox | bounding box to be processed. |
theMaxDimension | maximum dimension of the given box. |
|
static |
Checks same parameter, same range and degenerativity attributes using geometrical data of the given edge and updates edge model by computed parameters in case of worst case - it can drop flags same parameter and same range to False but never to True if it is already set to False. In contrary, it can also drop degenerated flag to True, but never to False if it is already set to True.
|
static |
Returns maximum tolerance of the given face. Considers tolerances of edges and vertices contained in the given face.
|
static |
Nullifies polygon on triangulation stored in the edge.
theEdge | edge to be updated by null polygon. |
theTriangulation | triangulation the given edge is associated to. |
theLocation | face location. |
|
static |
Nullifies 3d polygon stored in the edge.
theEdge | edge to be updated by null polygon. |
theLocation | face location. |
|
static |
Nullifies triangulation stored in the face.
theFace | face to be updated by null triangulation. |
|
static |
Gets the parametric range of the given edge on the given face.
|
static |
Gets the 3d range of the given edge.
|
static |
Updates the given edge by the given tessellated representation.
theEdge | edge to be updated. |
thePolygon | tessellated representation of the edge to be stored. |
theTriangulation | triangulation the given edge is associated to. |
theLocation | face location. |
|
static |
Updates the given edge by the given tessellated representation.
theEdge | edge to be updated. |
thePolygon | tessellated representation of the edge to be stored. |
|
static |
Updates the given seam edge by the given tessellated representations.
theEdge | edge to be updated. |
thePolygon1 | tessellated representation corresponding to forward direction of the seam edge. |
thePolygon2 | tessellated representation corresponding to reversed direction of the seam edge. |
theTriangulation | triangulation the given edge is associated to. |
theLocation | face location. |
|
static |
Applies location to the given point and return result.
thePnt | point to be transformed. |
theLoc | location to be applied. |
|
static |
Gets the strict UV locations of the extremities of the edge using pcurve.