Open CASCADE Technology
7.2.0
|
#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 Standard_Real | RelativeEdgeDeflection (const TopoDS_Edge &theEdge, const Standard_Real theDeflection, const Standard_Real theMaxShapeSize, Standard_Real &theAdjustmentCoefficient) |
Returns relative deflection for edge with respect to shape size. More... | |
static gp_XY | FindUV (const Standard_Integer theIndexOfPnt3d, const gp_Pnt2d &thePnt2d, const Standard_Real theMinDistance, const Handle< BRepMesh_FaceAttribute > &theFaceAttribute) |
Checks 2d representations of 3d point with the given index for equality to avoid duplications. 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 | 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_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 | IsDegenerated (const TopoDS_Edge &theEdge, const TopoDS_Face &theFace) |
Checks is the given edge degenerated. Checks geometrical parameters in case if IsDegenerated flag is not set. More... | |
|
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 2d representations of 3d point with the given index for equality to avoid duplications.
theIndexOfPnt3d | index of 3d point with which 2d representation should be associated. |
thePnt2d | 2d representation of the point with the given index. |
theMinDistance | minimum distance between vertices regarding which they could be treated as distinct ones. |
theFaceAttribute | attributes contining data calculated according to face geomtry and define limits of face in parametric space. If defined, will be used instead of surface parameter. |
theLocation2dMap | map of 2d representations of 3d points. |
|
static |
Checks is the given edge degenerated. Checks geometrical parameters in case if IsDegenerated flag is not set.
theEdge | edge to be checked. |
theFace | face within which parametric space edge will be checked for geometrical degenerativity. |
|
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 triangulation stored in the face.
theFace | face to be updated by null triangulation. |
|
static |
Returns relative deflection for edge with respect to shape size.
theEdge | edge for which relative deflection should be computed. |
theDeflection | absolute deflection. |
theMaxShapeSize | maximum size of a shape. |
theAdjustmentCoefficient | coefficient of adjustment between maximum size of shape and calculated relative deflection. |
|
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 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. |