DGtal
1.0.0
|
#include <iostream>
#include <algorithm>
#include "DGtal/base/Common.h"
#include "ConfigTest.h"
#include "DGtalCatch.h"
#include "DGtal/helpers/StdDefs.h"
#include "DGtal/topology/HalfEdgeDataStructure.h"
Go to the source code of this file.
Typedefs | |
typedef HalfEdgeDataStructure::Triangle | Triangle |
typedef HalfEdgeDataStructure::PolygonalFace | PolygonalFace |
typedef HalfEdgeDataStructure::Edge | Edge |
typedef HalfEdgeDataStructure::Arc | ArcT |
typedef HalfEdgeDataStructure::VertexIndexRange | VertexIndexRange |
Functions | |
HalfEdgeDataStructure | makeTwoTriangles () |
HalfEdgeDataStructure | makeThreeTriangles () |
HalfEdgeDataStructure | makeTetrahedron () |
HalfEdgeDataStructure | makeRibbonWithHole () |
HalfEdgeDataStructure | makeTriangulatedDisk () |
HalfEdgeDataStructure | makePyramid () |
HalfEdgeDataStructure | makeCube () |
HalfEdgeDataStructure | makeBox () |
SCENARIO ("HalfEdgeDataStructure build", "[halfedge][build]") | |
SCENARIO ("HalfEdgeDataStructure neighboring relations", "[halfedge][neighbors]") | |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Functions for testing class HalfEdgeDataStructure.
This file is part of the DGtal library.
Definition in file testHalfEdgeDataStructure.cpp.
typedef HalfEdgeDataStructure::Arc ArcT |
Definition at line 48 of file testHalfEdgeDataStructure.cpp.
typedef HalfEdgeDataStructure::Edge Edge |
Definition at line 47 of file testHalfEdgeDataStructure.cpp.
Definition at line 46 of file testHalfEdgeDataStructure.cpp.
Definition at line 45 of file testHalfEdgeDataStructure.cpp.
Definition at line 49 of file testHalfEdgeDataStructure.cpp.
HalfEdgeDataStructure makeBox | ( | ) |
Definition at line 149 of file testHalfEdgeDataStructure.cpp.
References DGtal::HalfEdgeDataStructure::build().
Referenced by SCENARIO().
HalfEdgeDataStructure makeCube | ( | ) |
Definition at line 135 of file testHalfEdgeDataStructure.cpp.
References DGtal::HalfEdgeDataStructure::build().
Referenced by SCENARIO().
HalfEdgeDataStructure makePyramid | ( | ) |
Definition at line 122 of file testHalfEdgeDataStructure.cpp.
References DGtal::HalfEdgeDataStructure::build().
Referenced by SCENARIO().
HalfEdgeDataStructure makeRibbonWithHole | ( | ) |
Definition at line 87 of file testHalfEdgeDataStructure.cpp.
References DGtal::HalfEdgeDataStructure::build(), and DGtal::HalfEdgeDataStructure::getUnorderedEdgesFromTriangles().
Referenced by SCENARIO().
HalfEdgeDataStructure makeTetrahedron | ( | ) |
Definition at line 74 of file testHalfEdgeDataStructure.cpp.
References DGtal::HalfEdgeDataStructure::build().
Referenced by SCENARIO().
HalfEdgeDataStructure makeThreeTriangles | ( | ) |
Definition at line 62 of file testHalfEdgeDataStructure.cpp.
References DGtal::HalfEdgeDataStructure::build().
Referenced by SCENARIO().
HalfEdgeDataStructure makeTriangulatedDisk | ( | ) |
Definition at line 104 of file testHalfEdgeDataStructure.cpp.
References DGtal::HalfEdgeDataStructure::build(), and DGtal::HalfEdgeDataStructure::getUnorderedEdgesFromTriangles().
Referenced by SCENARIO().
HalfEdgeDataStructure makeTwoTriangles | ( | ) |
Definition at line 51 of file testHalfEdgeDataStructure.cpp.
References DGtal::HalfEdgeDataStructure::build().
Referenced by SCENARIO().
SCENARIO | ( | "HalfEdgeDataStructure build" | , |
"" | [halfedge][build] | ||
) |
Definition at line 164 of file testHalfEdgeDataStructure.cpp.
References DGtal::HalfEdgeDataStructure::boundaryArcs(), DGtal::HalfEdgeDataStructure::boundaryVertices(), GIVEN(), makeBox(), makeCube(), makePyramid(), makeRibbonWithHole(), makeTetrahedron(), makeThreeTriangles(), makeTriangulatedDisk(), makeTwoTriangles(), DGtal::HalfEdgeDataStructure::nbEdges(), DGtal::HalfEdgeDataStructure::nbFaces(), DGtal::HalfEdgeDataStructure::nbHalfEdges(), DGtal::HalfEdgeDataStructure::nbVertices(), and REQUIRE().
SCENARIO | ( | "HalfEdgeDataStructure neighboring relations" | , |
"" | [halfedge][neighbors] | ||
) |
Definition at line 340 of file testHalfEdgeDataStructure.cpp.
References DGtal::HalfEdgeDataStructure::getNeighboringVertices(), GIVEN(), makeBox(), makeRibbonWithHole(), makeTwoTriangles(), and REQUIRE().