#include <Triangulation.h>
Public Member Functions | |
| FlatTriangulator () | |
| void | ProjectOntoSurface (const std::vector< Base::Vector3f > &) |
| If points were added then we get the 3D points by projecting the added 2D points onto a surface which fits into the given points. | |
| ~FlatTriangulator () | |
Protected Member Functions | |
| bool | Triangulate () |
| Computes the triangulation of a polygon. | |
Definition at line 165 of file Triangulation.h.
| FlatTriangulator::FlatTriangulator | ( | ) |
Definition at line 593 of file Triangulation.cpp.
| FlatTriangulator::~FlatTriangulator | ( | ) |
Definition at line 597 of file Triangulation.cpp.
| void FlatTriangulator::ProjectOntoSurface | ( | const std::vector< Base::Vector3f > & | points | ) | [virtual] |
If points were added then we get the 3D points by projecting the added 2D points onto a surface which fits into the given points.
Reimplemented from MeshCore::AbstractPolygonTriangulator.
Definition at line 628 of file Triangulation.cpp.
| bool FlatTriangulator::Triangulate | ( | ) | [protected, virtual] |
Computes the triangulation of a polygon.
The resulting facets can be accessed by GetTriangles() or GetFacets().
Implements MeshCore::AbstractPolygonTriangulator.
Definition at line 601 of file Triangulation.cpp.
References MeshCore::AbstractPolygonTriangulator::_facets, MeshCore::AbstractPolygonTriangulator::_newpoints, MeshCore::AbstractPolygonTriangulator::_triangles, MeshCore::AbstractPolygonTriangulator::GetFacets(), MeshCore::AbstractPolygonTriangulator::GetPolygon(), MeshCore::AbstractPolygonTriangulator::GetTriangles(), MeshCore::AbstractPolygonTriangulator::ProjectToFitPlane(), MeshCore::AbstractPolygonTriangulator::SetPolygon(), and MeshCore::AbstractPolygonTriangulator::TriangulatePolygon().
1.6.1