![]() |
MechSys
1.0
Computing library for simulations in continuum and discrete mechanics
|
#include <face.h>
Public Member Functions | |
Face (Array< Edge * > E) | |
E: Edges of the face. | |
Face (Array< Vec3_t > &V) | |
Face (Array< Vec3_t * > &V) | |
Face () | |
~Face () | |
void | UpdatedL () |
UdatedL for each edge. | |
void | Normal (Vec3_t &N) |
Calculates the normal vecto rof the face. | |
void | Centroid (Vec3_t &C) |
Calculates the centroid of the polygonal face. | |
double | Area () |
Calculates the area of the face. | |
void | Draw (std::ostream &os, double Radius=1.0, char const *Color="Blue", bool BPY=false) |
Public Attributes | |
Array< Edge * > | Edges |
Edges. | |
bool | Allocate |
It allocates memory or not. |
Face::Face | ( | Array< Edge * > | E | ) | [inline] |
E: Edges of the face.
Face::Face | ( | Array< Vec3_t > & | V | ) | [inline] |
Face::Face | ( | Array< Vec3_t * > & | V | ) | [inline] |
Face::Face | ( | ) | [inline] |
Face::~Face | ( | ) | [inline] |
double Face::Area | ( | ) | [inline] |
Calculates the area of the face.
void Face::Centroid | ( | Vec3_t & | C | ) | [inline] |
Calculates the centroid of the polygonal face.
void Face::Draw | ( | std::ostream & | os, |
double | Radius = 1.0 , |
||
char const * | Color = "Blue" , |
||
bool | BPY = false |
||
) | [inline] |
void Face::Normal | ( | Vec3_t & | N | ) | [inline] |
Calculates the normal vecto rof the face.
void Face::UpdatedL | ( | ) | [inline] |
UdatedL for each edge.
bool Face::Allocate |
It allocates memory or not.
Edges.