|
DGtal 2.0.0
|
#include <cstdio>#include <cmath>#include <iostream>#include "DGtal/base/Common.h"#include "DGtal/base/Clone.h"#include "DGtal/base/Alias.h"#include "DGtal/base/ConstAlias.h"#include "DGtal/helpers/StdDefs.h"Go to the source code of this file.
Data Structures | |
| struct | A1 |
| struct | DByValue |
| struct | DByClone |
| struct | EByAlias |
| struct | EByConstAlias |
| class | MyPoint |
| struct | TriangleByConstReference |
| struct | TriangleByValue |
| struct | TriangleByClone |
| struct | FByCloneHeap |
| struct | FByCloneCowPtr |
Typedefs | |
| typedef MyPoint | Point |
Functions | |
| template<typename Triangle> | |
| double | computeTriangles (int size) |
| int | main () |
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/.
This file is part of the DGtal library
Definition in file testCloneAndAliases.cpp.
Definition at line 185 of file testCloneAndAliases.cpp.
| double computeTriangles | ( | int | size | ) |
Definition at line 219 of file testCloneAndAliases.cpp.
Referenced by main().
| int main | ( | void | ) |
Definition at line 272 of file testCloneAndAliases.cpp.
References computeTriangles(), A1::nbCreated, MyPointD::nbCreated, A1::nbDeleted, MyPointD::nbDeleted, MyPoint::reset(), DGtal::trace, and DByValue::value().