TM2IN
0.5.1
|
Functions | |
bool | has_bbox_intersect (IndoorComponent *s1, IndoorComponent *s2) |
Chekcs Bbox_3 intersects. More... | |
Plane_3 | make_PCA_plane (std::vector< Vertex * > vertices, Vector_3 normal) |
Creates PCA plane with Vertex and normal vector. More... | |
Plane_3 | make_simple_plane (Vector_3 pNormal) |
std::vector< Point_2 > | project_to_plane (std::vector< Vertex * > vertexList, Plane_3 plane) |
Projects Vertex list to plane and returns a vector of Kernel::Point_2. More... | |
Polygon_2 | make_CGAL_polygon (vector< Point_2 > surface2D) |
Generates CGAL::Polygon_2. More... | |
vector< Polygon_2 > | convexPartition (Polygon_2 polygon) |
Partitions Polygon_2 to a vector of Polygon_2. More... | |
Kernel::Point_3 | to_CGAL_Point_3 (Vertex &vt) |
Vertex to CGAL Point_3. More... | |
Kernel::Triangle_3 | to_CGAL_Triangle_3 (Wall::Triangle &tri) |
Wall::Triangle to CGAL Triangle_3. More... | |
Segment_3 | to_CGAL_Segment_3 (HalfEdge *he) |
HalfEdge to CGAL Segment_3. More... | |
Bbox_3 | to_CGAL_bbox3 (MinimumBoundingBox &box) |
MinimumBoundingBox to CGAL Bbox_3. More... | |
double | getCosineValue (Vector_3 &nv1, Vector_3 &nv2) |
Returns cosine value. More... | |