OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    BRepLib_ToolTriangulatedShape Class Reference

    Provides methods for calculating normals to Poly_Triangulation of TopoDS_Face. More...

    #include <BRepLib_ToolTriangulatedShape.hxx>

    Inheritance diagram for BRepLib_ToolTriangulatedShape:

    Static Public Member Functions

    static void ComputeNormals (const TopoDS_Face &theFace, const occ::handle< Poly_Triangulation > &theTris)
     Computes nodal normals for Poly_Triangulation structure using UV coordinates and surface. Does nothing if triangulation already defines normals.
    static void ComputeNormals (const TopoDS_Face &theFace, const occ::handle< Poly_Triangulation > &theTris, Poly_Connect &thePolyConnect)
     Computes nodal normals for Poly_Triangulation structure using UV coordinates and surface. Does nothing if triangulation already defines normals.

    Detailed Description

    Provides methods for calculating normals to Poly_Triangulation of TopoDS_Face.

    Member Function Documentation

    ◆ ComputeNormals() [1/2]

    void BRepLib_ToolTriangulatedShape::ComputeNormals ( const TopoDS_Face & theFace,
    const occ::handle< Poly_Triangulation > & theTris )
    inlinestatic

    Computes nodal normals for Poly_Triangulation structure using UV coordinates and surface. Does nothing if triangulation already defines normals.

    Parameters
    [in]theFacethe face
    [in]theTristhe definition of a face triangulation

    ◆ ComputeNormals() [2/2]

    void BRepLib_ToolTriangulatedShape::ComputeNormals ( const TopoDS_Face & theFace,
    const occ::handle< Poly_Triangulation > & theTris,
    Poly_Connect & thePolyConnect )
    static

    Computes nodal normals for Poly_Triangulation structure using UV coordinates and surface. Does nothing if triangulation already defines normals.

    Parameters
    [in]theFacethe face
    [in]theTristhe definition of a face triangulation
    [in,out]thePolyConnectoptional, initialized tool for exploring triangulation

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