gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <MFace.h>
Public Member Functions | |
MFace () | |
MFace (MVertex *v0, MVertex *v1, MVertex *v2, MVertex *v3=nullptr) | |
MFace (const std::vector< MVertex * > &v) | |
std::size_t | getNumVertices () const |
MVertex * | getVertex (std::size_t i) const |
MVertex * | getSortedVertex (std::size_t i) const |
MEdge | getEdge (std::size_t i) const |
void | getOrientationFlagForFace (std::vector< int > &faceOrientationFlag) |
bool | computeCorrespondence (const MFace &, int &, bool &) const |
void | getOrderedVertices (std::vector< MVertex * > &verts) const |
void | getOrderedVertices (const MVertex **const verts) const |
double | approximateArea () const |
SVector3 | normal () const |
SVector3 | tangent (int num) const |
SPoint3 | barycenter () const |
SPoint3 | interpolate (const double &u, const double &v) const |
Private Attributes | |
std::vector< MVertex * > | _v |
std::vector< char > | _si |
MFace::MFace | ( | const std::vector< MVertex * > & | v | ) |
double MFace::approximateArea | ( | ) | const |
Definition at line 195 of file MFace.cpp.
Referenced by _relocateVertexOfPyramid().
|
inline |
Definition at line 65 of file MFace.h.
Referenced by _relocateVertexOfPyramid(), and Subdivide().
bool MFace::computeCorrespondence | ( | const MFace & | other, |
int & | rotation, | ||
bool & | swap | ||
) | const |
Definition at line 212 of file MFace.cpp.
Referenced by GFace::alignElementsWithMaster(), and GModel::alignPeriodicBoundaries().
|
inline |
|
inline |
Definition at line 29 of file MFace.h.
Referenced by MElement::_getFaceInfo(), addToMap(), barycenter(), buildFaceSearchStructure(), checkConformity(), computeCorrespondence(), getEdge(), getFaceVertices(), getOrderedVertices(), interpolate(), operator!=(), MFaceLessThan::operator()(), operator==(), and topoFace::topoFace().
|
inline |
|
inline |
void MFace::getOrientationFlagForFace | ( | std::vector< int > & | faceOrientationFlag | ) |
|
inline |
Definition at line 31 of file MFace.h.
Referenced by getOrderedVertices(), operator!=(), MFaceLessThan::operator()(), and operator==().
|
inline |
Definition at line 30 of file MFace.h.
Referenced by MElement::_getFaceInfo(), addToMap(), qmHexahedron::angles(), barycenter(), checkConformity(), computeCorrespondence(), getEdge(), interpolate(), and topoFace::topoFace().
|
inline |
SVector3 MFace::normal | ( | ) | const |
Definition at line 204 of file MFace.cpp.
Referenced by MElement::_getEdgeRep(), MPolygon::_initVertices(), _myGetEdgeRep(), _relocateVertexOfPyramid(), addExtrudeNormals(), drawNormals(), FixPeriodicMesh(), MPyramidN::getEdgeRep(), getGFaceOrientation(), quadsToTriangles(), MElement::signedInvCondNumRange(), tangent(), and MElement::writeSTL().
|
inline |
|
private |
Definition at line 23 of file MFace.h.
Referenced by getOrientationFlagForFace(), getSortedVertex(), and MFace().
|
private |
Definition at line 22 of file MFace.h.
Referenced by approximateArea(), computeCorrespondence(), getNumVertices(), getOrientationFlagForFace(), getSortedVertex(), getVertex(), MFace(), normal(), and tangent().