mirror of https://github.com/CGAL/cgal
improving the doc
This commit is contained in:
parent
5fa7181360
commit
ad813dc4fe
|
|
@ -46,9 +46,12 @@ There are three versions of constrained triangulations
|
|||
<LI>In the basic version, the constrained triangulation
|
||||
does not handle intersecting constraints, and the set of input
|
||||
constraints is required to be a set of polylines that do not intersect
|
||||
except possibly at their endpoints. Any number of constrained edges
|
||||
may share the same endpoint. Constrained edges may be vertical or
|
||||
have zero length.
|
||||
except possibly at their endpoints.
|
||||
An exception of type `Intersection_of_constraints_exception`
|
||||
is thrown upon insertion of a constraint intersecting in
|
||||
its interior an already inserted constraint.
|
||||
Any number of constrained edges may share the same endpoint.
|
||||
Constrained edges may be vertical or have zero length.
|
||||
<LI>The two other versions support intersecting input constraints.
|
||||
In those versions, input constraints may consist of
|
||||
intersecting, overlapping or partially
|
||||
|
|
@ -329,7 +332,9 @@ Note that `t` is first cleared.
|
|||
*/
|
||||
istream& operator>>(istream& is,Constrained_triangulation_2<Traits,Tds> Ct& t);
|
||||
|
||||
//! Exception thrown for `intersect()` when called with the tag `No_intersection_tag`.
|
||||
//! Then, if constraints intersect, an exception of this type will be thrown.
|
||||
/*! Exception used by constrained triangulations configured with
|
||||
the tag `No_intersection_tag`. It is thrown upon insertion of a constraint
|
||||
that is intersecting an already inserted constraint in its interior.
|
||||
*/
|
||||
class Intersection_of_constraints_exception;
|
||||
} /* end namespace CGAL */
|
||||
|
|
|
|||
|
|
@ -888,14 +888,14 @@ intersect(Face_handle f, int i,
|
|||
// split constraint edge (f,i)
|
||||
// and return the Vertex_handle of the new Vertex
|
||||
{
|
||||
#ifndef CGAL_NO_WARNING_WHEN_USING_CDT_PLUS_WHILE_INTERSECTING_CONSTRAINTS
|
||||
#ifndef CGAL_NO_CDT_2_WARNING
|
||||
CGAL_warning_msg(false,
|
||||
"You are using an exact number type\n"
|
||||
"You are using an exact number type,\n"
|
||||
"using a Constrained_triangulation_plus_2 class\n"
|
||||
"would avoid cascading intersection computation\n"
|
||||
" and be much more efficient\n"
|
||||
"This message is shown only when not using "
|
||||
"CGAL_NO_WARNING_WHEN_USING_CDT_PLUS_WHILE_INTERSECTING_CONSTRAINTS.\n");
|
||||
"This message is shown only if CGAL_NO_CDT_2_WARNING"
|
||||
"is not defined.\n");
|
||||
#endif
|
||||
const Point& pa = vaa->point();
|
||||
const Point& pb = vbb->point();
|
||||
|
|
|
|||
Loading…
Reference in New Issue