Open CASCADE Technology 7.8.2.dev
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 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 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]

static void BRepLib_ToolTriangulatedShape::ComputeNormals ( const TopoDS_Face & theFace,
const 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]

static void BRepLib_ToolTriangulatedShape::ComputeNormals ( const TopoDS_Face & theFace,
const 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: