Open
Description
Issues in dD Triangulation
- In
Triangulation_data_structure.h
the functionmirror_vertex()
has several problems:- I believe that the return type should be
Vertex_handle
. - The call
s->mirror_vertex(i)
is missing thecur_dim
second parameter. - Also, the
const
version ofmirror_vertex()
is missing. As a matter of fact, severalconst
ormutable
versions are missing in all constructs in this package.
- I believe that the return type should be
- In
Triangulation_data_structure.h
, the body of the functioncollapse_face()
defines aFull_face
using the default constructor (namely,Full_cell s
), but the default constructor is canceled. (There is one that accepts the dimension...) - In the manual of
insert_in_tagged_hole(..., OutputIterator oi)
please explicitly indicate the type of the dereferenced object*oi
. - In the manual of
insert_in_hole(ForewardIterator start, ForwardIterator end, ...)
the text says, and I quote, "Removes the full cells in the range C=[s, e)". Changes
ande
tostart
andend
, respectively (or the other way around...) - In both variants of
insert_in_hole()
and ininsert_in_tagged_hole()
the input parameterfacet
should probably be passed as a reference (and not by value). - The manual of
Triangulation
lists the functioncollapse_face()
, while the code ascontract_face()
. This function also calls the membercontract_face()
of Triangulation_data_structure, while the latter hascollapse_face()
. - At least in one case the name of a concept (as opposed to the name of a template parameter) has the suffix
_
, which is, of course, wrong; it also causes the link to the concept page to be absent. Issuegit grep -i "concept [^ ]*_"
. - The
Facet
type is is not documented (does not exist in the Reference Manual). - The documentation of the
clear()
function is missing inTriangulation
. (It does exists inTriangulationDataStructure
concept. - The description of the function
insert_in_hole()
of the conceptTriangulationDataStructure
refers to a pointp
, butp
is not a parameter (as opposed to the functioninsert_in_hole()
of theTriangulation
class template. - Three functions (i.e., (insert_in_hole() X 2, insert_in_tagged_hole()) of the concept
TriangulationDataStructure
accept a parameter of type Facet by value; why don't them accept a const reference? Observe that similar functions of theTriangulation
class template do accept const reference. - In the ref. man. of
Triangulation_data_structure::insert_in_tagged_hole()
it says, and I quote, "A setC
of full cells satisfying the same condition as in methodTriangulation_data_structure::insert_in_hole()
.... " It is unclear what isC
exactly. As far as I understand, the methodTriangulation_data_structure::insert_in_hole()
acceptsC
as input, butTriangulation_data_structure::insert_in_tagged_hole()
accepts a facet. - What is so special about
is_valid()
that it is specified twice: once in the conceptTriangulationDataStructure
and once in the modelTriangulation_data_structure
?
Source Code
Environment
- Operating system (Windows/Mac/Linux, 32/64 bits): All
- Compiler: All
- Release or debug mode: Both
- Specific flags used (if any):
- CGAL version: Latest
- Boost version: Irrelevant
- Other libraries versions if used (Eigen, TBB, etc.):