Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
Poly_CoherentNode Class Reference

#include <Poly_CoherentNode.hxx>

Inheritance diagram for Poly_CoherentNode:
Inheritance graph
[legend]

Public Member Functions

 Poly_CoherentNode ()
 Poly_CoherentNode (const gp_XYZ &thePnt)
void SetUV (const Standard_Real theU, const Standard_Real theV)
Standard_Real GetU () const
Standard_Real GetV () const
void SetNormal (const gp_XYZ &theVector)
Standard_Boolean HasNormal () const
gp_XYZ GetNormal () const
void SetIndex (const Standard_Integer theIndex)
Standard_Integer GetIndex () const
Standard_Boolean IsFreeNode () const
void Clear (const Handle_NCollection_BaseAllocator &)
void AddTriangle (const Poly_CoherentTriangle &theTri, const Handle_NCollection_BaseAllocator &theA)
Standard_Boolean RemoveTriangle (const Poly_CoherentTriangle &theTri, const Handle_NCollection_BaseAllocator &theA)
Poly_CoherentTriPtr::Iterator TriangleIterator () const
void Dump (Standard_OStream &theStream) const

Detailed Description

Node of coherent triangulation. Contains:


Constructor & Destructor Documentation

Empty constructor.

Constructor.


Member Function Documentation

void Poly_CoherentNode::AddTriangle ( const Poly_CoherentTriangle theTri,
const Handle_NCollection_BaseAllocator &  theA 
)

Connect a triangle to this Node.

void Poly_CoherentNode::Clear ( const Handle_NCollection_BaseAllocator &  )

Reset the Node to void.

Get the value of node Index.

Get the stored normal in the node.

Get U coordinate of the Node.

Get V coordinate of the Node.

Query if the Node contains a normal vector.

Check if this is a free node, i.e., a node without a single incident triangle.

Standard_Boolean Poly_CoherentNode::RemoveTriangle ( const Poly_CoherentTriangle theTri,
const Handle_NCollection_BaseAllocator &  theA 
)

Disconnect a triangle from this Node.

Set the value of node Index.

Define the normal vector in the Node.

Set the UV coordinates of the Node.

Create an iterator of incident triangles.


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