mirror of https://github.com/CGAL/cgal
spell checked. Right before CGAL 1.0.
This commit is contained in:
parent
3233af3bd2
commit
bd7ab1c8e7
|
|
@ -33,7 +33,8 @@ third section documents generators for two-dimensional point sets, the
|
||||||
fourth section for three-dimensional point sets. The fifth section
|
fourth section for three-dimensional point sets. The fifth section
|
||||||
presents examples using functions from
|
presents examples using functions from
|
||||||
Section~\ref{sectionGenericFunctions} to generate composed objects
|
Section~\ref{sectionGenericFunctions} to generate composed objects
|
||||||
like segments. The sixth section describes ramdom conves sets.
|
like segments.
|
||||||
|
%% The sixth section describes random convex sets.
|
||||||
Note that the \stl\ algorithm \ccc{random_shuffle} is
|
Note that the \stl\ algorithm \ccc{random_shuffle} is
|
||||||
useful in this context to achieve random permutations for otherwise
|
useful in this context to achieve random permutations for otherwise
|
||||||
regular generators (e.g.~points on a grid or segment).
|
regular generators (e.g.~points on a grid or segment).
|
||||||
|
|
@ -107,7 +108,7 @@ template argument \ccc{Creator} which defaults to the class
|
||||||
template arguments must be provided when using these generators.}.
|
template arguments must be provided when using these generators.}.
|
||||||
The \ccc{Creator} must be a function object accepting two \ccc{double}
|
The \ccc{Creator} must be a function object accepting two \ccc{double}
|
||||||
values $x$ and $y$ and returning an initialized point \ccc{(x,y)} of type
|
values $x$ and $y$ and returning an initialized point \ccc{(x,y)} of type
|
||||||
\ccc{P}. Predifined implementations for these creators like the
|
\ccc{P}. Predefined implementations for these creators like the
|
||||||
default can be found in Section~\ref{sectionCreatorFunctionObjects}.
|
default can be found in Section~\ref{sectionCreatorFunctionObjects}.
|
||||||
They simply assume an appropriate constructor for type \ccc{P}.
|
They simply assume an appropriate constructor for type \ccc{P}.
|
||||||
|
|
||||||
|
|
@ -250,7 +251,7 @@ Grid points are generated by functions writing to an output iterator.
|
||||||
the $n$ points.
|
the $n$ points.
|
||||||
\ccPrecond \ccc{Creator} must be a function object accepting two
|
\ccPrecond \ccc{Creator} must be a function object accepting two
|
||||||
\ccc{double} values $x$ and $y$ and returning an initialized point
|
\ccc{double} values $x$ and $y$ and returning an initialized point
|
||||||
\ccc{(x,y)} of type \ccc{P}. Predifined implementations for these
|
\ccc{(x,y)} of type \ccc{P}. Predefined implementations for these
|
||||||
creators like the default can be found in
|
creators like the default can be found in
|
||||||
Section~\ref{sectionCreatorFunctionObjects}. The
|
Section~\ref{sectionCreatorFunctionObjects}. The
|
||||||
\ccc{OutputIterator} must accept values of type \ccc{P}. If the
|
\ccc{OutputIterator} must accept values of type \ccc{P}. If the
|
||||||
|
|
@ -285,7 +286,7 @@ exact predicates to compute the sign of expressions slightly off from zero.
|
||||||
Two random numbers are needed from \ccc{rnd} for each point.
|
Two random numbers are needed from \ccc{rnd} for each point.
|
||||||
\ccPrecond \ccc{Creator} must be a function object accepting two
|
\ccPrecond \ccc{Creator} must be a function object accepting two
|
||||||
\ccc{double} values $x$ and $y$ and returning an initialized point
|
\ccc{double} values $x$ and $y$ and returning an initialized point
|
||||||
\ccc{(x,y)} of type \ccc{P}. Predifined implementations for these
|
\ccc{(x,y)} of type \ccc{P}. Predefined implementations for these
|
||||||
creators like the default can be found in
|
creators like the default can be found in
|
||||||
Section~\ref{sectionCreatorFunctionObjects}. The \ccc{value_type} of the
|
Section~\ref{sectionCreatorFunctionObjects}. The \ccc{value_type} of the
|
||||||
\ccc{ForwardIterator} must be assignable to \ccc{P}.
|
\ccc{ForwardIterator} must be assignable to \ccc{P}.
|
||||||
|
|
@ -321,7 +322,7 @@ a point set.
|
||||||
Returns the value of \ccc{first2} after inserting the $n$ points.
|
Returns the value of \ccc{first2} after inserting the $n$ points.
|
||||||
\ccPrecond \ccc{Creator} must be a function object accepting two
|
\ccPrecond \ccc{Creator} must be a function object accepting two
|
||||||
\ccc{double} values $x$ and $y$ and returning an initialized point
|
\ccc{double} values $x$ and $y$ and returning an initialized point
|
||||||
\ccc{(x,y)} of type \ccc{P}. Predifined implementations for these
|
\ccc{(x,y)} of type \ccc{P}. Predefined implementations for these
|
||||||
creators like the default can be found in
|
creators like the default can be found in
|
||||||
Section~\ref{sectionCreatorFunctionObjects}. The \ccc{value_type} of the
|
Section~\ref{sectionCreatorFunctionObjects}. The \ccc{value_type} of the
|
||||||
\ccc{RandomAccessIterator} must be assignable to \ccc{P}.
|
\ccc{RandomAccessIterator} must be assignable to \ccc{P}.
|
||||||
|
|
@ -437,7 +438,7 @@ template argument \ccc{Creator} which defaults to
|
||||||
template arguments must be provided when using these generators.}.
|
template arguments must be provided when using these generators.}.
|
||||||
The \ccc{Creator} must be a function object accepting three
|
The \ccc{Creator} must be a function object accepting three
|
||||||
\ccc{double} values $x$, $y$ and $z$ and returning an initialized
|
\ccc{double} values $x$, $y$ and $z$ and returning an initialized
|
||||||
point \ccc{(x,y,z)} of type \ccc{P}. Predifined implementations for
|
point \ccc{(x,y,z)} of type \ccc{P}. Predefined implementations for
|
||||||
these creators like the default can be found in
|
these creators like the default can be found in
|
||||||
Section~\ref{sectionCreatorFunctionObjects}. They simply assume an
|
Section~\ref{sectionCreatorFunctionObjects}. They simply assume an
|
||||||
appropriate constructor for type \ccc{P}.
|
appropriate constructor for type \ccc{P}.
|
||||||
|
|
@ -558,7 +559,7 @@ The second example generates a regular structure of 100 segments, see
|
||||||
output. It uses the \ccc{CGAL_Points_on_segment_2} iterator,
|
output. It uses the \ccc{CGAL_Points_on_segment_2} iterator,
|
||||||
\ccc{CGAL_Join_input_iterator_2} and \ccc{CGAL_Counting_iterator} to
|
\ccc{CGAL_Join_input_iterator_2} and \ccc{CGAL_Counting_iterator} to
|
||||||
avoid any intermediate storage of the generated objects until they are
|
avoid any intermediate storage of the generated objects until they are
|
||||||
used, in this example copied to a windowstream.
|
used, in this example copied to a window stream.
|
||||||
|
|
||||||
\cprogfile{Segment_generator_prog2.C}
|
\cprogfile{Segment_generator_prog2.C}
|
||||||
|
|
||||||
|
|
@ -567,7 +568,7 @@ used, in this example copied to a windowstream.
|
||||||
<TABLE><TR><TD ALIGN=LEFT VALIGN=TOP WIDTH=60%>
|
<TABLE><TR><TD ALIGN=LEFT VALIGN=TOP WIDTH=60%>
|
||||||
<A HREF="./Segment_generator_prog2.gif">Figure:</A>
|
<A HREF="./Segment_generator_prog2.gif">Figure:</A>
|
||||||
Output of example program for the generic segment generator using
|
Output of example program for the generic segment generator using
|
||||||
precomputed point locations.
|
pre-computed point locations.
|
||||||
</TD><TD ALIGN=LEFT VALIGN=TOP WIDTH=5% NOWRAP>
|
</TD><TD ALIGN=LEFT VALIGN=TOP WIDTH=5% NOWRAP>
|
||||||
</TD><TD ALIGN=LEFT VALIGN=TOP WIDTH=35% NOWRAP>
|
</TD><TD ALIGN=LEFT VALIGN=TOP WIDTH=35% NOWRAP>
|
||||||
<A HREF="./Segment_generator_prog2.gif">
|
<A HREF="./Segment_generator_prog2.gif">
|
||||||
|
|
|
||||||
|
|
@ -33,7 +33,8 @@ third section documents generators for two-dimensional point sets, the
|
||||||
fourth section for three-dimensional point sets. The fifth section
|
fourth section for three-dimensional point sets. The fifth section
|
||||||
presents examples using functions from
|
presents examples using functions from
|
||||||
Section~\ref{sectionGenericFunctions} to generate composed objects
|
Section~\ref{sectionGenericFunctions} to generate composed objects
|
||||||
like segments. The sixth section describes ramdom conves sets.
|
like segments.
|
||||||
|
%% The sixth section describes random convex sets.
|
||||||
Note that the \stl\ algorithm \ccc{random_shuffle} is
|
Note that the \stl\ algorithm \ccc{random_shuffle} is
|
||||||
useful in this context to achieve random permutations for otherwise
|
useful in this context to achieve random permutations for otherwise
|
||||||
regular generators (e.g.~points on a grid or segment).
|
regular generators (e.g.~points on a grid or segment).
|
||||||
|
|
@ -107,7 +108,7 @@ template argument \ccc{Creator} which defaults to the class
|
||||||
template arguments must be provided when using these generators.}.
|
template arguments must be provided when using these generators.}.
|
||||||
The \ccc{Creator} must be a function object accepting two \ccc{double}
|
The \ccc{Creator} must be a function object accepting two \ccc{double}
|
||||||
values $x$ and $y$ and returning an initialized point \ccc{(x,y)} of type
|
values $x$ and $y$ and returning an initialized point \ccc{(x,y)} of type
|
||||||
\ccc{P}. Predifined implementations for these creators like the
|
\ccc{P}. Predefined implementations for these creators like the
|
||||||
default can be found in Section~\ref{sectionCreatorFunctionObjects}.
|
default can be found in Section~\ref{sectionCreatorFunctionObjects}.
|
||||||
They simply assume an appropriate constructor for type \ccc{P}.
|
They simply assume an appropriate constructor for type \ccc{P}.
|
||||||
|
|
||||||
|
|
@ -250,7 +251,7 @@ Grid points are generated by functions writing to an output iterator.
|
||||||
the $n$ points.
|
the $n$ points.
|
||||||
\ccPrecond \ccc{Creator} must be a function object accepting two
|
\ccPrecond \ccc{Creator} must be a function object accepting two
|
||||||
\ccc{double} values $x$ and $y$ and returning an initialized point
|
\ccc{double} values $x$ and $y$ and returning an initialized point
|
||||||
\ccc{(x,y)} of type \ccc{P}. Predifined implementations for these
|
\ccc{(x,y)} of type \ccc{P}. Predefined implementations for these
|
||||||
creators like the default can be found in
|
creators like the default can be found in
|
||||||
Section~\ref{sectionCreatorFunctionObjects}. The
|
Section~\ref{sectionCreatorFunctionObjects}. The
|
||||||
\ccc{OutputIterator} must accept values of type \ccc{P}. If the
|
\ccc{OutputIterator} must accept values of type \ccc{P}. If the
|
||||||
|
|
@ -285,7 +286,7 @@ exact predicates to compute the sign of expressions slightly off from zero.
|
||||||
Two random numbers are needed from \ccc{rnd} for each point.
|
Two random numbers are needed from \ccc{rnd} for each point.
|
||||||
\ccPrecond \ccc{Creator} must be a function object accepting two
|
\ccPrecond \ccc{Creator} must be a function object accepting two
|
||||||
\ccc{double} values $x$ and $y$ and returning an initialized point
|
\ccc{double} values $x$ and $y$ and returning an initialized point
|
||||||
\ccc{(x,y)} of type \ccc{P}. Predifined implementations for these
|
\ccc{(x,y)} of type \ccc{P}. Predefined implementations for these
|
||||||
creators like the default can be found in
|
creators like the default can be found in
|
||||||
Section~\ref{sectionCreatorFunctionObjects}. The \ccc{value_type} of the
|
Section~\ref{sectionCreatorFunctionObjects}. The \ccc{value_type} of the
|
||||||
\ccc{ForwardIterator} must be assignable to \ccc{P}.
|
\ccc{ForwardIterator} must be assignable to \ccc{P}.
|
||||||
|
|
@ -321,7 +322,7 @@ a point set.
|
||||||
Returns the value of \ccc{first2} after inserting the $n$ points.
|
Returns the value of \ccc{first2} after inserting the $n$ points.
|
||||||
\ccPrecond \ccc{Creator} must be a function object accepting two
|
\ccPrecond \ccc{Creator} must be a function object accepting two
|
||||||
\ccc{double} values $x$ and $y$ and returning an initialized point
|
\ccc{double} values $x$ and $y$ and returning an initialized point
|
||||||
\ccc{(x,y)} of type \ccc{P}. Predifined implementations for these
|
\ccc{(x,y)} of type \ccc{P}. Predefined implementations for these
|
||||||
creators like the default can be found in
|
creators like the default can be found in
|
||||||
Section~\ref{sectionCreatorFunctionObjects}. The \ccc{value_type} of the
|
Section~\ref{sectionCreatorFunctionObjects}. The \ccc{value_type} of the
|
||||||
\ccc{RandomAccessIterator} must be assignable to \ccc{P}.
|
\ccc{RandomAccessIterator} must be assignable to \ccc{P}.
|
||||||
|
|
@ -437,7 +438,7 @@ template argument \ccc{Creator} which defaults to
|
||||||
template arguments must be provided when using these generators.}.
|
template arguments must be provided when using these generators.}.
|
||||||
The \ccc{Creator} must be a function object accepting three
|
The \ccc{Creator} must be a function object accepting three
|
||||||
\ccc{double} values $x$, $y$ and $z$ and returning an initialized
|
\ccc{double} values $x$, $y$ and $z$ and returning an initialized
|
||||||
point \ccc{(x,y,z)} of type \ccc{P}. Predifined implementations for
|
point \ccc{(x,y,z)} of type \ccc{P}. Predefined implementations for
|
||||||
these creators like the default can be found in
|
these creators like the default can be found in
|
||||||
Section~\ref{sectionCreatorFunctionObjects}. They simply assume an
|
Section~\ref{sectionCreatorFunctionObjects}. They simply assume an
|
||||||
appropriate constructor for type \ccc{P}.
|
appropriate constructor for type \ccc{P}.
|
||||||
|
|
@ -558,7 +559,7 @@ The second example generates a regular structure of 100 segments, see
|
||||||
output. It uses the \ccc{CGAL_Points_on_segment_2} iterator,
|
output. It uses the \ccc{CGAL_Points_on_segment_2} iterator,
|
||||||
\ccc{CGAL_Join_input_iterator_2} and \ccc{CGAL_Counting_iterator} to
|
\ccc{CGAL_Join_input_iterator_2} and \ccc{CGAL_Counting_iterator} to
|
||||||
avoid any intermediate storage of the generated objects until they are
|
avoid any intermediate storage of the generated objects until they are
|
||||||
used, in this example copied to a windowstream.
|
used, in this example copied to a window stream.
|
||||||
|
|
||||||
\cprogfile{Segment_generator_prog2.C}
|
\cprogfile{Segment_generator_prog2.C}
|
||||||
|
|
||||||
|
|
@ -567,7 +568,7 @@ used, in this example copied to a windowstream.
|
||||||
<TABLE><TR><TD ALIGN=LEFT VALIGN=TOP WIDTH=60%>
|
<TABLE><TR><TD ALIGN=LEFT VALIGN=TOP WIDTH=60%>
|
||||||
<A HREF="./Segment_generator_prog2.gif">Figure:</A>
|
<A HREF="./Segment_generator_prog2.gif">Figure:</A>
|
||||||
Output of example program for the generic segment generator using
|
Output of example program for the generic segment generator using
|
||||||
precomputed point locations.
|
pre-computed point locations.
|
||||||
</TD><TD ALIGN=LEFT VALIGN=TOP WIDTH=5% NOWRAP>
|
</TD><TD ALIGN=LEFT VALIGN=TOP WIDTH=5% NOWRAP>
|
||||||
</TD><TD ALIGN=LEFT VALIGN=TOP WIDTH=35% NOWRAP>
|
</TD><TD ALIGN=LEFT VALIGN=TOP WIDTH=35% NOWRAP>
|
||||||
<A HREF="./Segment_generator_prog2.gif">
|
<A HREF="./Segment_generator_prog2.gif">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue