Open CASCADE Technology 6.6.0
Public Member Functions
StlMesh_MeshTriangle Class Reference

A mesh triangle is defined with
three geometric vertices and an orientation

#include <StlMesh_MeshTriangle.hxx>

Inheritance diagram for StlMesh_MeshTriangle:
Inheritance graph
[legend]

Public Member Functions

 StlMesh_MeshTriangle ()
 empty constructor

 StlMesh_MeshTriangle (const Standard_Integer V1, const Standard_Integer V2, const Standard_Integer V3, const Standard_Real Xn, const Standard_Real Yn, const Standard_Real Zn)
 create a triangle defined with the indexes of its three vertices
and its orientation
//! Raised if V1, V2 or V3 is lower than zero

void GetVertexAndOrientation (Standard_Integer &V1, Standard_Integer &V2, Standard_Integer &V3, Standard_Real &Xn, Standard_Real &Yn, Standard_Real &Zn) const
 get indexes of the three vertices (V1,V2,V3) and the orientation

void SetVertexAndOrientation (const Standard_Integer V1, const Standard_Integer V2, const Standard_Integer V3, const Standard_Real Xn, const Standard_Real Yn, const Standard_Real Zn)
 set indexes of the three vertices (V1,V2,V3) and the orientation
//! Raised if V1, V2 or V3 is lower than zero

void GetVertex (Standard_Integer &V1, Standard_Integer &V2, Standard_Integer &V3) const
 get indexes of the three vertices (V1,V2,V3)

void SetVertex (const Standard_Integer V1, const Standard_Integer V2, const Standard_Integer V3)
 set indexes of the three vertices (V1,V2,V3)
//! Raised if V1, V2 or V3 is lower than zero


Constructor & Destructor Documentation

StlMesh_MeshTriangle::StlMesh_MeshTriangle ( )
StlMesh_MeshTriangle::StlMesh_MeshTriangle ( const Standard_Integer  V1,
const Standard_Integer  V2,
const Standard_Integer  V3,
const Standard_Real  Xn,
const Standard_Real  Yn,
const Standard_Real  Zn 
)

Member Function Documentation

void StlMesh_MeshTriangle::GetVertex ( Standard_Integer V1,
Standard_Integer V2,
Standard_Integer V3 
) const
void StlMesh_MeshTriangle::GetVertexAndOrientation ( Standard_Integer V1,
Standard_Integer V2,
Standard_Integer V3,
Standard_Real Xn,
Standard_Real Yn,
Standard_Real Zn 
) const
void StlMesh_MeshTriangle::SetVertex ( const Standard_Integer  V1,
const Standard_Integer  V2,
const Standard_Integer  V3 
)
void StlMesh_MeshTriangle::SetVertexAndOrientation ( const Standard_Integer  V1,
const Standard_Integer  V2,
const Standard_Integer  V3,
const Standard_Real  Xn,
const Standard_Real  Yn,
const Standard_Real  Zn 
)

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines