Fix typos

This commit is contained in:
Mael Rouxel-Labbé 2021-10-04 13:22:00 +02:00
parent 625848e629
commit 521c72d57e
30 changed files with 36 additions and 36 deletions

View File

@ -789,7 +789,7 @@ public:
if(Base::bitstream_tree.max_var(curr) == 1) { if(Base::bitstream_tree.max_var(curr) == 1) {
++curr; ++curr;
++curr_mark; ++curr_mark;
//AcX_DSTREAM("nothing happend" << std::endl); //AcX_DSTREAM("nothing happened" << std::endl);
} }
else { else {
newly_created = newly_created =

View File

@ -15,7 +15,7 @@ public:
/// @{ /// @{
/*! computes the intersections of `xc1` and `xc2` and writes them <I>in an /*! computes the intersections of `xc1` and `xc2` and writes them <I>in an
* ascending lexicographic \f$xy\f$-order</I> into a range begining at * ascending lexicographic \f$xy\f$-order</I> into a range beginning at
* `oi`. The type `OutputIterator` must dereference a polymorphic object of * `oi`. The type `OutputIterator` must dereference a polymorphic object of
* type `boost::variant` that wraps objects of type either type * type `boost::variant` that wraps objects of type either type
* `pair<ArrTraits::Point_2, ArrTraits::Multiplicity>` or * `pair<ArrTraits::Point_2, ArrTraits::Multiplicity>` or

View File

@ -14,7 +14,7 @@ public:
/// @{ /// @{
/*! subdivides the input curve `c` into \f$x\f$-monotone subcurves and /*! subdivides the input curve `c` into \f$x\f$-monotone subcurves and
* isolated points, and inserts the results into a range begining at the given * isolated points, and inserts the results into a range beginning at the given
* output iterator `oi`. The type `OutputIterator` dereferences a * output iterator `oi`. The type `OutputIterator` dereferences a
* `boost::variant` that wraps either an `ArrTraits::Point_2` object or an * `boost::variant` that wraps either an `ArrTraits::Point_2` object or an
* `ArrTraits::X_monotone_curve_2` object. The operator returns a past-the-end * `ArrTraits::X_monotone_curve_2` object. The operator returns a past-the-end

View File

@ -815,7 +815,7 @@ public:
right_overlap = false; right_overlap = false;
//! EF: the following code is abit suspicious. It may erroneously //! EF: the following code is a bit suspicious. It may erroneously
// assume that the subcurves cannot overlap more than once. // assume that the subcurves cannot overlap more than once.
if (! right_coincides && ! left_coincides) { if (! right_coincides && ! left_coincides) {
// Non of the endpoints of the current subcurve of one polycurve // Non of the endpoints of the current subcurve of one polycurve

View File

@ -1848,7 +1848,7 @@ public:
/* The traits class which the basic traits adaptor accepts as a template /* The traits class which the basic traits adaptor accepts as a template
* parameter is a model of the ArrangementBasicTraits_2 concept so it * parameter is a model of the ArrangementBasicTraits_2 concept so it
* needs not to support intersections at all, therefor it is complicated * needs not to support intersections at all, therefore it is complicated
* to check if the x-curves are disjoint in their interiors. Moreover, * to check if the x-curves are disjoint in their interiors. Moreover,
* compare_y_position functor is called only from the arrangement class * compare_y_position functor is called only from the arrangement class
* itself (and some related point-location algorithms), and used only * itself (and some related point-location algorithms), and used only

View File

@ -17,7 +17,7 @@ public:
/// @{ /// @{
/*! computes the intersections of `xc1` and `xc2` and inserts them <I>in an /*! computes the intersections of `xc1` and `xc2` and inserts them <I>in an
* ascending lexicographic \f$ xy\f$-order</I> into a range begining at * ascending lexicographic \f$ xy\f$-order</I> into a range beginning at
* `oi`. The type `OutputIterator` dereferences a `boost::variant` of either the * `oi`. The type `OutputIterator` dereferences a `boost::variant` of either the
* type `pair<ArrDirectionalTraits::Point_2, * type `pair<ArrDirectionalTraits::Point_2,
* ArrDirectionalTraits::Multiplicity>` or the type * ArrDirectionalTraits::Multiplicity>` or the type

View File

@ -348,7 +348,7 @@ _insert(const Polygon_2& pgn, Arrangement_on_surface_2 & arr)
} }
Face_const_handle const_f; Face_const_handle const_f;
// face should not be contained as the pgn is completly disjoint of the // face should not be contained as the pgn is completely disjoint of the
// arrangement. // arrangement.
CGAL_assertion(CGAL::assign(const_f, obj_f) && !const_f->contained()); CGAL_assertion(CGAL::assign(const_f, obj_f) && !const_f->contained());
CGAL::assign(const_f, obj_f); CGAL::assign(const_f, obj_f);

View File

@ -52819,7 +52819,7 @@ library."
, year = 1992 , year = 1992
, pages = "994--1008" , pages = "994--1008"
, succeeds = "etw-otama-90" , succeeds = "etw-otama-90"
, annote = "Basicly a generalization of switching. If we can't , annote = "Basically a generalization of switching. If we can't
improve the worst triangle by a switching look for a an improve the worst triangle by a switching look for a an
edge splitting the largest angle that crosses several edge splitting the largest angle that crosses several
edges." edges."

View File

@ -1087,7 +1087,7 @@ HTML_STYLESHEET = ${CGAL_DOC_RESOURCE_DIR}/stylesheet.css
# user-defined cascading style sheet that is included after the standard # user-defined cascading style sheet that is included after the standard
# style sheets created by doxygen. Using this option one can overrule # style sheets created by doxygen. Using this option one can overrule
# certain style aspects. This is preferred over using HTML_STYLESHEET # certain style aspects. This is preferred over using HTML_STYLESHEET
# since it does not replace the standard style sheet and is therefor more # since it does not replace the standard style sheet and is therefore more
# robust against future updates. Doxygen will copy the style sheet file to # robust against future updates. Doxygen will copy the style sheet file to
# the output directory. # the output directory.

View File

@ -4,7 +4,7 @@
# This file is loaded by cmake via the command "find_package(CGAL)" # This file is loaded by cmake via the command "find_package(CGAL)"
# #
# This file correspond to a possibly out-of-sources CGAL configuration, thus the actual location # This file correspond to a possibly out-of-sources CGAL configuration, thus the actual location
# must be given by the cmake variable or enviroment variable CGAL_DIR. # must be given by the cmake variable or environment variable CGAL_DIR.
set(CGAL_CONFIG_LOADED TRUE) set(CGAL_CONFIG_LOADED TRUE)

View File

@ -4,7 +4,7 @@
# This file is loaded by cmake via the command "find_package(CGAL)" # This file is loaded by cmake via the command "find_package(CGAL)"
# #
# This file correspond to a CGAL installation with "make install", thus the actual location # This file correspond to a CGAL installation with "make install", thus the actual location
# must be given by the cmake variable or enviroment variable CGAL_DIR. # must be given by the cmake variable or environment variable CGAL_DIR.
set(CGAL_CONFIG_LOADED TRUE) set(CGAL_CONFIG_LOADED TRUE)

View File

@ -4,7 +4,7 @@ if ( NOT CGAL_GENERATOR_SPECIFIC_SETTINGS_FILE_INCLUDED )
message( STATUS "Targetting ${CMAKE_GENERATOR}") message( STATUS "Targetting ${CMAKE_GENERATOR}")
if ( MSVC ) if ( MSVC )
message( STATUS "Target build enviroment supports auto-linking" ) message( STATUS "Target build environment supports auto-linking" )
set(CGAL_AUTO_LINK_ENABLED TRUE) set(CGAL_AUTO_LINK_ENABLED TRUE)
endif() endif()

View File

@ -228,10 +228,10 @@ partition_is_valid_2 (InputIterator point_first, InputIterator point_last,
traits); traits);
} }
template<class InputIterator, class FowardIterator> template<class InputIterator, class ForwardIterator>
bool bool
partition_is_valid_2 (InputIterator point_first, InputIterator point_last, partition_is_valid_2 (InputIterator point_first, InputIterator point_last,
FowardIterator poly_first, FowardIterator poly_last) ForwardIterator poly_first, ForwardIterator poly_last)
{ {
typedef typename std::iterator_traits<InputIterator>::value_type Point_2; typedef typename std::iterator_traits<InputIterator>::value_type Point_2;
typedef typename Kernel_traits<Point_2>::Kernel K; typedef typename Kernel_traits<Point_2>::Kernel K;

View File

@ -796,7 +796,7 @@ public:
if(!empty_c[1] && !empty_e[1]) { if(!empty_c[1] && !empty_e[1]) {
CGAL_assertion(first_first == empty_c[0]); CGAL_assertion(first_first == empty_c[0]);
if(first_first) { // nothing happend on the other half if(first_first) { // nothing happened on the other half
if(equator[2] || equator[3]) { if(equator[2] || equator[3]) {
first_first = false; first_first = false;
previous_first = sv[3]->out_sedge(); previous_first = sv[3]->out_sedge();

View File

@ -883,9 +883,9 @@ public:
} }
} }
// finaly, we go through all the Shells which do not correspond to a Volume // finally, we go through all the Shells which do not correspond to a Volume
// and we assign them to its enclosing Volume determined via a facet below // and we assign them to its enclosing Volume determined via a facet below
// check. // check.
CGAL_forall_sfaces(f,*this->sncp()) { CGAL_forall_sfaces(f,*this->sncp()) {
// progress3++; // progress3++;

View File

@ -200,7 +200,7 @@ class Approximator {
else i=0; else i=0;
} }
// now i references the side of maximal angle // now i references the side of maximal angle
if ( angle[i] < refinement_angle ) // refinement threshhold if ( angle[i] < refinement_angle ) // refinement threshold
{ T.push_back(t); return; } { T.push_back(t); return; }
VVector v; VVector v;
switch (i) { switch (i) {

View File

@ -48,7 +48,7 @@ class Expr;
namespace CGAL { namespace internal { namespace CGAL { namespace internal {
// Two classes which tell the prefered "exact number types" corresponding to a type. // Two classes which tell the preferred "exact number types" corresponding to a type.
// The default template chooses mpq_class, Gmpq, leda_rational, or Quotient<MP_Float>. // The default template chooses mpq_class, Gmpq, leda_rational, or Quotient<MP_Float>.
// It should support the built-in types. // It should support the built-in types.

View File

@ -609,7 +609,7 @@ void find_smallest_yx(BidirectionalCirculator& first, const Traits& traits)
current++; current++;
// find out which direction to go // find out which direction to go
typename Traits::Less_yx_2 less_yx = traits.less_yx_2_object(); typename Traits::Less_yx_2 less_yx = traits.less_yx_2_object();
if (less_yx(*current, *first)) // go foward if (less_yx(*current, *first)) // go forward
{ {
do do
{ {

View File

@ -201,10 +201,10 @@ partition_is_valid_2 (InputIterator point_first, InputIterator point_last,
} }
} // namespace internal } // namespace internal
template<class InputIterator, class FowardIterator> template<class InputIterator, class ForwardIterator>
bool bool
partition_is_valid_2 (InputIterator point_first, InputIterator point_last, partition_is_valid_2 (InputIterator point_first, InputIterator point_last,
FowardIterator poly_first, FowardIterator poly_last) ForwardIterator poly_first, ForwardIterator poly_last)
{ {
typedef typename std::iterator_traits<InputIterator>::value_type Point_2; typedef typename std::iterator_traits<InputIterator>::value_type Point_2;
typedef typename Kernel_traits<Point_2>::Kernel K; typedef typename Kernel_traits<Point_2>::Kernel K;
@ -218,10 +218,10 @@ partition_is_valid_2 (InputIterator point_first, InputIterator point_last,
} }
template<class InputIterator, class FowardIterator, class Traits> template<class InputIterator, class ForwardIterator, class Traits>
bool bool
partition_is_valid_2 (InputIterator point_first, InputIterator point_last, partition_is_valid_2 (InputIterator point_first, InputIterator point_last,
FowardIterator poly_first, FowardIterator poly_last, ForwardIterator poly_first, ForwardIterator poly_last,
const Traits& traits) const Traits& traits)
{ {
//typedef typename std::iterator_traits<InputIterator>::value_type Point_2; //typedef typename std::iterator_traits<InputIterator>::value_type Point_2;

View File

@ -1368,7 +1368,7 @@ void Scene::gl_draw_location() {
if (in_plane) { if (in_plane) {
int i=0; int i=0;
int count = 0; int count = 0;
// Figure out whether there is a facet that is completly contained // Figure out whether there is a facet that is completely contained
// in the z=0 plane // in the z=0 plane
for (int j=0 ; j<4 ; j++) { for (int j=0 ; j<4 ; j++) {
if (ch->vertex(j)->point().z() != 0.0 || if (ch->vertex(j)->point().z() != 0.0 ||

View File

@ -53,7 +53,7 @@ namespace Polygon_mesh_processing {
* @param tmesh a polygon mesh with triangulated surface patches to be smoothed. * @param tmesh a polygon mesh with triangulated surface patches to be smoothed.
* @param faces the range of triangular faces defining one or several surface patches to be smoothed. * @param faces the range of triangular faces defining one or several surface patches to be smoothed.
* @param time a time step that corresponds to the speed by which the surface is smoothed. * @param time a time step that corresponds to the speed by which the surface is smoothed.
* A larger time step results in faster convergence but details may be distorted to have a larger extent * A larger time step results in faster convergence but details may be distorted to a larger extent
* compared to more iterations with a smaller step. Typical values scale in the interval (1e-6, 1]. * compared to more iterations with a smaller step. Typical values scale in the interval (1e-6, 1].
* @param np an optional sequence of \ref bgl_namedparameters "Named Parameters" among the ones listed below * @param np an optional sequence of \ref bgl_namedparameters "Named Parameters" among the ones listed below
* *

View File

@ -77,7 +77,7 @@ void Polyhedron_demo_diff_between_meshes_plugin::diff()
QCursor c(Qt::WaitCursor); QCursor c(Qt::WaitCursor);
CGAL::Three::Three::CursorScopeGuard guard(c); CGAL::Three::Three::CursorScopeGuard guard(c);
//Get the two meshes. No need to check their existance, applicable() //Get the two meshes. No need to check their existence, applicable()
//is not permissive enough to let it crash. //is not permissive enough to let it crash.
Scene_surface_mesh_item* m1_item = qobject_cast<Scene_surface_mesh_item*>( Scene_surface_mesh_item* m1_item = qobject_cast<Scene_surface_mesh_item*>(
scene->item(scene->selectionIndices().front())), scene->item(scene->selectionIndices().front())),

View File

@ -50,7 +50,7 @@ protected:
Q_FOREACH(QPointF p, points) Q_FOREACH(QPointF p, points)
{ {
/*Translation(-w/2, -h/2) to recenter the scene, then /*Translation(-w/2, -h/2) to recenter the scene, then
* Scaling then Rotation and finaly the Translation * Scaling then Rotation and finally the Translation
* + Translation(w/2+h/2) to put it back. */ * + Translation(w/2+h/2) to put it back. */
//scaled values //scaled values
qreal sx(translation.z()* (p.x()-width() /2.0)), sy(translation.z()* (p.y()-height()/2.0)) ; qreal sx(translation.z()* (p.x()-width() /2.0)), sy(translation.z()* (p.y()-height()/2.0)) ;

View File

@ -21,7 +21,7 @@ EchoServer::EchoServer(quint16 port) :
} }
QHostAddress local_host("0.0.0.0"); QHostAddress local_host("0.0.0.0");
//to avoid printing 127.0.0.1. Not realy sure it won't ever print the external ipv4 though. //to avoid printing 127.0.0.1. Not really sure it won't ever print the external ipv4 though.
const QHostAddress &localhost = QHostAddress(QHostAddress::LocalHost); const QHostAddress &localhost = QHostAddress(QHostAddress::LocalHost);
for (const QHostAddress &address: QNetworkInterface::allAddresses()) { for (const QHostAddress &address: QNetworkInterface::allAddresses()) {
if (address.protocol() == QAbstractSocket::IPv4Protocol && address != localhost) if (address.protocol() == QAbstractSocket::IPv4Protocol && address != localhost)

View File

@ -1231,7 +1231,7 @@ class Width_3 {
// *** ORIGIN_INSIDE_CH *** // *** ORIGIN_INSIDE_CH ***
//------------------------- //-------------------------
// To ensure that zero lies completly inside the convex hull of a point set. // To ensure that zero lies completely inside the convex hull of a point set.
// Returns true if the point set is not coplanar, false otherwise // Returns true if the point set is not coplanar, false otherwise
// PRECONDITION: Iterator range has at least 3 points // PRECONDITION: Iterator range has at least 3 points
template<class InputDA, class Vertex_iterator_> template<class InputDA, class Vertex_iterator_>

View File

@ -275,7 +275,7 @@ public:
//! the virtual destructor is essential for proper memory management here. //! the virtual destructor is essential for proper memory management here.
virtual ~Reference_counted_hierarchy() {} virtual ~Reference_counted_hierarchy() {}
//! can be used to minimize memory consumption once it is known that this //! can be used to minimize memory consumption once it is known that this
//! representation is not used anymore and only needed to keep a fowarding //! representation is not used anymore and only needed to keep a forwarding
//! pointer. One example would be cleaning up dynamically allocated //! pointer. One example would be cleaning up dynamically allocated
//! data, or another example would be overwriting a \c leda::real with //! data, or another example would be overwriting a \c leda::real with
//! a default constructed value to free its old expression tree. However, //! a default constructed value to free its old expression tree. However,

View File

@ -24,7 +24,7 @@
#sets the umask to 022 & 0777 #sets the umask to 022 & 0777
umask 022 umask 022
# Warn deprecated use of enviroment variables to pass on flags # Warn deprecated use of environment variables to pass on flags
if [ -n "$TESTSUITE_CXXFLAGS" ] ; then if [ -n "$TESTSUITE_CXXFLAGS" ] ; then
echo "\$TESTSUITE_CXXFLAGS is deprecated. Please use the CMAKE variable (CMAKE|CGAL)_CXX_FLAGS instead" >&2; echo "\$TESTSUITE_CXXFLAGS is deprecated. Please use the CMAKE variable (CMAKE|CGAL)_CXX_FLAGS instead" >&2;
fi fi

View File

@ -11,7 +11,7 @@ window queries, enclosing queries, and inverse range queries on the keys. The cl
a segment tree traits class `Traits` that defines, among other things, a segment tree traits class `Traits` that defines, among other things,
the type of the `Interval`. the type of the `Interval`.
In order to perform an inverse range query, a range query of In order to perform an inverse range query, a range query of
\f$ \epsilon\f$ width has to be performed. We prefered not to offer an \f$ \epsilon\f$ width has to be performed. We preferred not to offer an
extra function for this sort of query, since the inverse range extra function for this sort of query, since the inverse range
query is a special case of the range query. Furthermore, offering query is a special case of the range query. Furthermore, offering
an inverse range query in the segment tree class implies offering this an inverse range query in the segment tree class implies offering this

View File

@ -94,7 +94,7 @@ type information the sublayers could be created. This approach lead to nested
template arguments, since the sublayer tree can again have a template template arguments, since the sublayer tree can again have a template
argument defining the sublayer. Therefore, the internal class and function argument defining the sublayer. Therefore, the internal class and function
identifiers got longer than a compiler-dependent limit. identifiers got longer than a compiler-dependent limit.
This happend already for ` d=2`. This happened already for ` d=2`.
Therefore, we chose another, object oriented, Therefore, we chose another, object oriented,
design. We defined a pure design. We defined a pure

View File

@ -151,7 +151,7 @@ public:
/// Both cannot be true at the same time. /// Both cannot be true at the same time.
/// Note that for a minimal surface of genus>=2, we cannot have both -2 and /// Note that for a minimal surface of genus>=2, we cannot have both -2 and
/// +2 as turn, and thus these parameters are useless. /// +2 as turn, and thus these parameters are useless.
/// However, this case can occured for our unit tests on the cube, this is /// However, this case can occurr for our unit tests on the cube, this is
/// the reason of these parameters. /// the reason of these parameters.
Path_on_surface_with_rle(const MQ& aMQ, const Path_on_surface<Map>& apath, Path_on_surface_with_rle(const MQ& aMQ, const Path_on_surface<Map>& apath,
bool use_only_positive=false, bool use_only_positive=false,