Open CASCADE Technology  7.7.0.dev
Static Public Member Functions

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:
Inheritance graph
[legend]

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. More...
 
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. More...
 

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: