Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

node Struct Reference

Associates the edge to a node. More...

Collaboration diagram for node:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 node (Edge *e, Mesh *m)
 Initializes the variables of the class node.

bool operator< (const node &a) const
 Returns true if the edge length is smaller than the received egde legth.


Public Attributes

double lenght
 Storage the edge length.

Edgeedge
 Edge pointer.


Detailed Description

Associates the edge to a node.

This association is necessary to make possible evaluate the edge size. The estimation is made by the surface class.

Definition at line 22 of file triquad.cpp.


Constructor & Destructor Documentation

node::node Edge e,
Mesh m
[inline]
 

Initializes the variables of the class node.

Parameters:
e Edge pointer.
m Mesh pointer.

Definition at line 29 of file triquad.cpp.

References edge, A48::Surface::elenght(), lenght, and A48::Mesh::surf().

00029 { 00030 edge = e; 00031 lenght = m->surf()->elenght(e); 00032 }


Member Function Documentation

bool node::operator< const node a  )  const [inline]
 

Returns true if the edge length is smaller than the received egde legth.

Parameters:
a Node structure.

Definition at line 37 of file triquad.cpp.

References lenght, and operator<().

Referenced by operator<().

00037 { 00038 return lenght < a.lenght; 00039 }


The documentation for this struct was generated from the following file:
Generated on Mon Oct 11 19:32:25 2004 for A48 by doxygen 1.3.7