documentation, some renames (..Triangle.. -> ..Tesselation..) and a bunch of new functions needed for ConvexizeNonconvexEnvelope()
all of function documentation in place
AddTriangle...() is now called AddTesselation...() which makes more sense, as they mainly add points, lines and triangles to the global tesselation lists
New functions RemoveTesselation...() that erase points, lines and triangles and are counterparts to the AddTesselation...() functions (Note: They mostly do what the destructors did, only they erase also from global lists by not calling delete for subelements, but RemoveTesselation...() which does the job)
~BoundaryLineSet() checks whether both endpoints are still present, is more robust, as they may be missing from RemoveTesselation...()
~BoundaryTriangleSet() checks earlier whether lines are still present, same argument
new function Tesselation::IsConvexRectangle() checks whether the rectangle made out of the four points of the two triangles with the same baseline in between, is convex or concave. this is needed for ConvexizeNonconvexEnvelope()
new function GetClosestPointBetweenLine() which calculates the closest point on a line with respect to another line.
new function Tesselation::FlipBaseline() does most of what CorrectConcaveBaseLine() did before only without the Convexity check (is done in boundary.cpp:Convexize...())
Tesselation::GetCircleOfConnectedPoints() renamed to Tesselation::getNeighboursonCircleofConnectedPoints() and new function Tesselation::GetCircleOfConnectedPoints() which really returns just the circle of points, the renamed function works on the result of the new one.
new function Tesselation::RemovePointFromTesselatedSurface() which just removes the point, re-creating its triangles with the remainder of the points to keep the surface closed.
(No files)
Note:
See TracChangeset
for help on using the changeset viewer.