gmsh-TingyuanDoc
0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
|
Go to the documentation of this file.
6 #ifndef MESH_OCTREE_LIB_OL
7 #define MESH_OCTREE_LIB_OL
73 bool projectOnCAD =
false)
const;
79 std::vector<std::array<double, 3> >
points;
100 const std::vector<std::array<double,3> >&
points,
101 const std::vector<std::array<int32_t,2> >&
edges,
102 const std::vector<std::array<int32_t,3> >&
triangles,
103 const std::vector<std::array<int32_t,4> >&
quads,
104 const std::vector<std::array<int32_t,4> >&
tetrahedra,
105 const std::vector<std::array<int32_t,5> >&
pyramids,
106 const std::vector<std::array<int32_t,6> >&
prisms,
107 const std::vector<std::array<int32_t,8> >&
hexahedra);
112 double* bboxMin,
double* bboxMax,
113 std::vector<int32_t>& elements);
116 std::vector<std::array<double,3> >
points;
117 std::vector<std::array<int32_t,2> >
edges;
119 std::vector<std::array<int32_t,4> >
quads;
122 std::vector<std::array<int32_t,6> >
prisms;
bool setAnalyticalProjection(GFace *gf)
The SurfaceProjector can project with an analytical formula instead of a triangulation and a octree S...
std::vector< std::array< int32_t, 6 > > prisms
std::vector< std::array< double, 3 > > points
SurfaceProjector & operator=(SurfaceProjector const &)=delete
int elementsInsideBoundingBox(libOLTypTag elementType, double *bboxMin, double *bboxMax, std::vector< int32_t > &elements)
std::vector< std::array< int32_t, 4 > > quads
bool initialize(GFace *gf, const std::vector< MTriangle * > &triangles, bool useCADStl=false)
Fill the triangles and uvs from the triangles, then build the octree. Overwrite existing triangulatio...
Class to project 3D points on a triangulated surface. If a parametrization is available,...
std::vector< std::array< int32_t, 4 > > tetrahedra
std::vector< std::array< int32_t, 2 > > edges
std::vector< std::array< int32_t, 3 > > triangles
std::vector< std::array< int32_t, 3 > > triangles
SurfaceProjector(SurfaceProjector const &)=delete
GPoint closestPoint(const double query[3], bool evalOnCAD=false, bool projectOnCAD=false) const
Get the query closest point on the triangulated surface.
std::vector< std::array< std::array< double, 2 >, 3 > > triangle_uvs
void clear()
Clear the triangulation and delete the octree.
GFace::GeomType analyticalShape
std::vector< std::array< double, 3 > > points
std::array< double, 10 > analyticalParameters
std::vector< std::array< int32_t, 5 > > pyramids
std::vector< bool > triangle_no_uv_eval
std::vector< std::array< int32_t, 8 > > hexahedra
bool useAnalyticalFormula
libOLwrapper(const std::vector< std::array< double, 3 > > &points, const std::vector< std::array< int32_t, 2 > > &edges, const std::vector< std::array< int32_t, 3 > > &triangles, const std::vector< std::array< int32_t, 4 > > &quads, const std::vector< std::array< int32_t, 4 > > &tetrahedra, const std::vector< std::array< int32_t, 5 > > &pyramids, const std::vector< std::array< int32_t, 6 > > &prisms, const std::vector< std::array< int32_t, 8 > > &hexahedra)