gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
6 #ifndef DISCRETE_FACE_H
7 #define DISCRETE_FACE_H
24 std::vector<std::pair<MTriangle *, MTriangle *> *>
rtree3dData;
25 std::vector<MVertex>
v2d;
26 std::vector<MVertex>
v3d;
27 std::vector<MTriangle>
t2d;
28 std::vector<MTriangle>
t3d;
29 std::vector<SVector3>
CURV;
50 bool convTestXYZ =
false)
const;
57 const double initialGuess[2])
const;
61 double &curvMax,
double &curvMin)
const;
68 virtual void mesh(
bool verbose);
int trianglePosition(double par1, double par2, double &u, double &v) const
virtual void secondDer(const SPoint2 ¶m, SVector3 &dudu, SVector3 &dvdv, SVector3 &dudv) const
double curvatures(const SPoint2 ¶m, SVector3 &dirMax, SVector3 &dirMin, double &curvMax, double &curvMin) const
virtual bool haveParametrization()
discreteFace(GModel *model, int num)
std::vector< std::pair< MTriangle *, MTriangle * > * > rtree3dData
std::vector< SVector3 > CURV
virtual GPoint point(double par1, double par2) const =0
double curvatureMax(const SPoint2 ¶m) const
bool containsParam(const SPoint2 &pt)
virtual void mesh(bool verbose)
GPoint closestPoint(const SPoint3 &queryPoint, double maxDistance, SVector3 *normal=nullptr) const
void _debugParametrization(bool uv)
virtual void resetMeshAttributes()
bool writeParametrization(FILE *fp, bool binary)
std::vector< MVertex > v2d
std::vector< MVertex > v3d
GPoint point(double par1, double par2) const
GPoint intersectionWithCircle(const SVector3 &n1, const SVector3 &n2, const SVector3 &p, const double &R, double uv[2])
std::vector< MTriangle > t2d
SPoint2 parFromPoint(const SPoint3 &p, bool onSurface=true, bool convTestXYZ=false) const
Range< double > parBounds(int i) const
std::vector< MTriangle > t3d
void _createGeometryFromSTL()
GEntity::GeomType geomType() const
bool readParametrization(FILE *fp, bool binary)
SVector3 normal(const SPoint2 ¶m) const
SBoundingBox3d bounds(bool fast=false)
RTree< std::pair< MTriangle *, MTriangle * > *, double, 3 > rtree3d
virtual Pair< SVector3, SVector3 > firstDer(const SPoint2 ¶m) const
void _computeSTLNormals()