gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
#include <gmshFace.h>
Public Member Functions | |
gmshFace (GModel *m, Surface *s) | |
virtual | ~gmshFace () |
virtual Range< double > | parBounds (int i) const |
virtual GPoint | point (double par1, double par2) const |
virtual GPoint | closestPoint (const SPoint3 &queryPoint, const double initialGuess[2]) const |
virtual bool | containsPoint (const SPoint3 &pt) const |
virtual double | getMetricEigenvalue (const SPoint2 &) |
virtual SVector3 | normal (const SPoint2 ¶m) const |
virtual Pair< SVector3, SVector3 > | firstDer (const SPoint2 ¶m) const |
virtual void | secondDer (const SPoint2 &, SVector3 &, SVector3 &, SVector3 &) const |
virtual GEntity::GeomType | geomType () const |
virtual bool | haveParametrization () |
virtual ModelType | getNativeType () const |
virtual void * | getNativePtr () const |
virtual SPoint2 | parFromPoint (const SPoint3 &, bool onSurface=true, bool convTestXYZ=false) const |
virtual void | resetMeshAttributes () |
void | resetNativePtr (Surface *s) |
bool | degenerate (int dim) const |
virtual GPoint | point (double par1, double par2) const=0 |
virtual GPoint | point (const SPoint2 &pt) const |
Public Member Functions inherited from GFace | |
void | setMeshMaster (GFace *master, const std::vector< double > &) |
void | setMeshMaster (GFace *master, const std::map< int, int > &) |
void | alignElementsWithMaster () |
GFace (GModel *model, int tag) | |
virtual | ~GFace () |
virtual void | deleteMesh () |
void | addRegion (GRegion *r) |
void | delRegion (GRegion *r) |
GRegion * | getRegion (int const num) const |
std::size_t | numRegions () const |
std::list< GRegion * > | regions () const |
virtual bool | isOrphan () |
void | addEmbeddedVertex (GVertex *v) |
void | addEmbeddedEdge (GEdge *e) |
virtual std::vector< int > const & | orientations () const |
int | delEdge (GEdge *edge) |
virtual std::vector< GEdge * > const & | edges () const |
void | set (const std::vector< GEdge * > &f) |
void | setOrientations (const std::vector< int > &f) |
void | setEdge (GEdge *const f, int const orientation) |
virtual std::vector< int > const & | edgeOrientations () const |
bool | containsEdge (int const iEdge) const |
void | setBoundEdges (const std::vector< int > &tagEdges) |
void | setBoundEdges (const std::vector< int > &tagEdges, const std::vector< int > &signEdges) |
std::vector< GEdge * > & | embeddedEdges () |
std::set< GVertex *, GEntityPtrLessThan > & | embeddedVertices () |
std::vector< GVertex * > | getEmbeddedVertices (bool force=false) const |
std::vector< GEdge * > | getEmbeddedEdges (bool force=false) const |
std::vector< MVertex * > | getEmbeddedMeshVertices (bool force=false) const |
virtual std::vector< GVertex * > | vertices () const |
virtual int | dim () const |
virtual GEntity * | getParentEntity () |
virtual void | setVisibility (char val, bool recursive=false) |
virtual void | setColor (unsigned int val, bool recursive=false) |
void | XYZtoUV (double X, double Y, double Z, double &U, double &V, double relax, bool onSurface=true, bool convTestXYZ=false) const |
virtual SBoundingBox3d | bounds (bool fast=false) |
virtual SOrientedBoundingBox | getOBB () |
virtual int | genusGeom () const |
virtual bool | checkTopology () const |
virtual GPoint | point (const SPoint2 &pt) const |
virtual void | getMetricEigenVectors (const SPoint2 ¶m, double eigVal[2], double eigVec[4]) const |
virtual bool | containsParam (const SPoint2 &pt) |
double | curvature (const SPoint2 ¶m) const |
virtual double | curvatureDiv (const SPoint2 ¶m) const |
virtual double | curvatureMax (const SPoint2 ¶m) const |
virtual double | curvatures (const SPoint2 ¶m, SVector3 &dirMax, SVector3 &dirMin, double &curvMax, double &curvMin) const |
virtual std::string | getAdditionalInfoString (bool multline=false) |
virtual void | writeGEO (FILE *fp) |
virtual void | writePY (FILE *fp) |
virtual bool | buildRepresentationCross (bool force=false) |
virtual bool | buildSTLTriangulation (bool force=false) |
bool | fillVertexArray (bool force=false) |
bool | storeSTLAsMesh () |
void | computeMeanPlane (const std::vector< MVertex * > &points) |
void | computeMeanPlane (const std::vector< SPoint3 > &points) |
void | computeMeanPlane () |
void | getMeanPlaneData (double VX[3], double VY[3], double &x, double &y, double &z) const |
void | getMeanPlaneData (double plan[3][3]) const |
virtual void | getElementTypes (std::vector< int > &types) const |
std::size_t | getNumMeshElements () const |
std::size_t | getNumMeshElementsByType (const int familyType) const |
std::size_t | getNumMeshParentElements () |
void | getNumMeshElements (unsigned *const c) const |
MElement *const * | getStartElementType (int type) const |
MElement * | getMeshElement (std::size_t index) const |
MElement * | getMeshElementByType (const int familyType, const std::size_t index) const |
void | moveToValidRange (SPoint2 &pt) const |
void | computeMeshSizeFieldAccuracy (double &avg, double &max_e, double &min_e, int &nE, int &GS) |
bool | fillPointCloud (double maxDist, std::vector< SPoint3 > *points, std::vector< SPoint2 > *uvpoints=nullptr, std::vector< SVector3 > *normals=nullptr) |
virtual bool | isSphere (double &radius, SPoint3 ¢er) const |
virtual void | mesh (bool verbose) |
int | getMeshingAlgo () const |
void | setMeshingAlgo (int val) |
void | unsetMeshingAlgo () |
int | getMeshSizeFromBoundary () const |
void | setMeshSizeFromBoundary (int val) |
virtual double | getMeshSize () const |
virtual double | getMeshSizeFactor () const |
void | relocateMeshVertices () |
void | addTriangle (MTriangle *t) |
void | addQuadrangle (MQuadrangle *q) |
void | addPolygon (MPolygon *p) |
void | addElement (int type, MElement *e) |
void | removeElement (int type, MElement *e) |
void | removeElements (int type) |
BoundaryLayerColumns * | getColumns () |
virtual bool | reorder (const int elementType, const std::vector< std::size_t > &ordering) |
virtual bool | isFullyDiscrete () |
Public Member Functions inherited from GEntity | |
void | addVerticesInSet (std::set< MVertex * > &, bool closure) const |
virtual std::string | getTypeString () |
GEntity (GModel *m, int t) | |
virtual | ~GEntity () |
void | deleteVertexArrays () |
virtual std::vector< GFace * > | faces () const |
std::vector< GRegion * > | bindingsGetRegions () |
std::vector< GFace * > | bindingsGetFaces () |
std::vector< GEdge * > | bindingsGetEdges () const |
std::vector< GVertex * > | bindingsGetVertices () |
virtual bool | continuous (int dim) const |
virtual bool | periodic (int dim) const |
virtual double | period (int dim) const |
virtual double | tolerance () const |
virtual int | getNativeInt () const |
GModel * | model () const |
int | tag () const |
void | setTag (int tag) |
virtual void | addPhysicalEntity (int physicalTag) |
virtual std::vector< int > | getPhysicalEntities () |
GEntity * | getMeshMaster () const |
void | setMeshMaster (GEntity *) |
void | setMeshMaster (GEntity *, const std::vector< double > &, bool updateCorrespondingVertices=true) |
void | updateCorrespondingVertices () |
void | copyMasterCoordinates () |
virtual char | getVisibility () |
virtual char | getSelection () |
virtual void | setSelection (char val) |
virtual unsigned int | getColor () |
virtual void | setColor (unsigned color, bool recursive=false) |
virtual bool | useColor () |
virtual std::string | getInfoString (bool additional=true, bool multiline=false) |
bool | getAllElementsVisible () |
void | setAllElementsVisible (bool val) |
std::size_t | getNumMeshVertices () |
MVertex * | getMeshVertex (std::size_t index) |
void | addMeshVertex (MVertex *v) |
void | removeMeshVertex (MVertex *v) |
GVertex * | cast2Vertex () |
GEdge * | cast2Edge () |
GFace * | cast2Face () |
GRegion * | cast2Region () |
Private Attributes | |
Surface * | _s |
Definition at line 13 of file gmshFace.h.
|
inlinevirtual |
Definition at line 19 of file gmshFace.h.
|
virtual |
Reimplemented from GFace.
Definition at line 244 of file gmshFace.cpp.
|
virtual |
Reimplemented from GEntity.
Definition at line 321 of file gmshFace.cpp.
|
virtual |
Reimplemented from GEntity.
Definition at line 29 of file gmshFace.cpp.
Implements GFace.
Definition at line 194 of file gmshFace.cpp.
|
virtual |
Reimplemented from GEntity.
Definition at line 300 of file gmshFace.cpp.
Referenced by haveParametrization().
|
virtual |
Reimplemented from GFace.
Definition at line 101 of file gmshFace.cpp.
|
inlinevirtual |
Reimplemented from GEntity.
Definition at line 34 of file gmshFace.h.
|
inlinevirtual |
Reimplemented from GEntity.
Definition at line 33 of file gmshFace.h.
|
virtual |
Reimplemented from GEntity.
Definition at line 316 of file gmshFace.cpp.
Reimplemented from GFace.
Definition at line 135 of file gmshFace.cpp.
|
virtual |
Reimplemented from GEntity.
Definition at line 133 of file gmshFace.cpp.
|
virtual |
Reimplemented from GFace.
Definition at line 284 of file gmshFace.cpp.
|
virtual |
Implements GFace.
Definition at line 228 of file gmshFace.cpp.
Referenced by normal().
virtual GPoint GFace::point |
|
virtual |
Reimplemented from GFace.
Definition at line 107 of file gmshFace.cpp.
Referenced by gmshFace().
void gmshFace::resetNativePtr | ( | Surface * | s | ) |
Definition at line 39 of file gmshFace.cpp.
Referenced by gmshFace().
|
virtual |
Implements GFace.
Definition at line 210 of file gmshFace.cpp.
|
private |
Definition at line 15 of file gmshFace.h.
Referenced by closestPoint(), containsPoint(), firstDer(), geomType(), getMetricEigenvalue(), getNativePtr(), normal(), parFromPoint(), point(), resetMeshAttributes(), resetNativePtr(), and secondDer().