Skip to content

Commit c32b1f4

Browse files
committed
spelling corrections
Some spelling corrections (Directories starting with `S` rest - `W`),
1 parent eed54a0 commit c32b1f4

File tree

176 files changed

+334
-350
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

176 files changed

+334
-350
lines changed

Scale_space_reconstruction_3/examples/Scale_space_reconstruction_3/scale_space_incremental.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ int main(int argc, char* argv[])
8181
}
8282
}
8383

84-
std::cout << "Reconstructions are ready to be examinated in your favorite viewer" << std::endl;
84+
std::cout << "Reconstructions are ready to be examined in your favorite viewer" << std::endl;
8585
return EXIT_SUCCESS;
8686
}

Scale_space_reconstruction_3/include/CGAL/Scale_space_reconstruction_3/Shape_construction_3.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class Shape_construction_3
117117
/** Important note: Shape_construction_3 does not take responsibility for destroying
118118
* the object after use.
119119
*
120-
* \tparam InputIterator an interator over the points.
120+
* \tparam InputIterator an iterator over the points.
121121
* The iterator should point to a model of Point.
122122
* \param begin is an iterator to the first point of the shape.
123123
* \param end is a past-the-end iterator for the points.

SearchStructures/include/CGAL/Range_tree_d.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
// A d-dimensional Range Tree or a multilayer tree consisting of Range
2828
// and other trees that are derived public
2929
// Tree_base<C_Data, C_Window, C_Interface>
30-
// can be construced within this class.
30+
// can be constructed within this class.
3131
// C_Data: container class which contains the d-dimensional data the tree holds.
3232
// C_Window: Query window -- a d-dimensional interval
3333
// C_Interface: Interface for the class with functions that allow to
@@ -202,7 +202,7 @@ class Range_tree_d: public Tree_base< C_Data, C_Window>
202202
// recursive function
203203
// (current,last) describe an interval of length n of sorted elements,
204204
// for this interval a tree is build containing these elements.
205-
// the most left child is returend in prevchild.
205+
// the most left child is returned in prevchild.
206206

207207
template <class T>
208208
void build_range_tree(int n, link_type& leftchild,
@@ -268,7 +268,7 @@ class Range_tree_d: public Tree_base< C_Data, C_Window>
268268
}
269269
else
270270
{
271-
// recursiv call for the construction. the interval is devided.
271+
// recursiv call for the construction. the interval is divided.
272272
T sublevel_left, sublevel_right;
273273
build_range_tree(n - (int)n/2, leftchild, rightchild,
274274
prevchild, leftmostlink, current, last,

SearchStructures/include/CGAL/Segment_tree_d.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ class Segment_tree_d: public Tree_base< C_Data, C_Window>
263263
}
264264
else
265265
{
266-
// recursiv call for the construction. the interval is devided.
266+
// recursiv call for the construction. the interval is divided.
267267
build_segment_tree(n - (int)n/2, leftchild, rightchild,
268268
prevchild, leftmostlink, index, last, keys);
269269
link_type vparent = new_Segment_tree_node_t

SearchStructures/include/CGAL/Tree_base.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ class Tree_base
131131
// -------------------------------------------------------------------
132132
// Tree Anchor: this class is used as a recursion anchor.
133133
// The derived tree classes can be nested. Use this class as the
134-
// most inner class. This class is doing nothin exept stopping the recursion
134+
// most inner class. This class is doing nothing except stopping the recursion
135135

136136
template <class C_Data, class C_Window>
137137
class Tree_anchor: public Tree_base< C_Data, C_Window>

Segment_Delaunay_graph_2/TODO

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
- For release:
2-
* add example that demostrates how to get edge info
2+
* add example that demonstrates how to get edge info
33
* remove enumeration type Arrangement_type as an enum type and add small
44
is_*() methods that query the type
55
* add test suites for {insert,remove}_degree_2 in TDS_2

Segment_Delaunay_graph_2/doc/Segment_Delaunay_graph_2/Concepts/SegmentDelaunayGraphHierarchyVertexBase_2.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
The vertex of a segment Delaunay graph
77
included in a segment Delaunay graph hierarchy has to provide
88
some pointers to the corresponding vertices in the
9-
graphs of the next and preceeding levels.
9+
graphs of the next and preceding levels.
1010
Therefore, the concept `SegmentDelaunayGraphHierarchyVertexBase_2`
1111
refines the concept `SegmentDelaunayGraphVertexBase_2`, by
12-
adding two vertex handles to the correponding vertices for the
12+
adding two vertex handles to the corresponding vertices for the
1313
next and previous level graphs.
1414
1515
\cgalRefines `SegmentDelaunayGraphVertexBase_2`

Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Segment_Delaunay_graph_2_impl.h

+4-4
Original file line numberDiff line numberDiff line change
@@ -2118,9 +2118,9 @@ remove_degree_d_vertex(const Vertex_handle& v)
21182118
// here we find a site in the small diagram that serves as a
21192119
// starting point for finding all conflicts.
21202120
// To do that we find the nearest neighbor of t if t is a point;
2121-
// t is guarranteed to have a conflict with its nearest neighbor
2121+
// t is guaranteed to have a conflict with its nearest neighbor
21222122
// If t is a segment, then one endpoint of t is enough; t is
2123-
// guarranteed to have a conflict with the Voronoi edges around
2123+
// guaranteed to have a conflict with the Voronoi edges around
21242124
// this endpoint
21252125
if ( t.is_point() ) {
21262126
vn = sdg_small.nearest_neighbor( t.point() );
@@ -2876,7 +2876,7 @@ copy(Segment_Delaunay_graph_2& other, Handle_map& hm)
28762876
// then copy the diagram
28772877
DG::operator=(other);
28782878

2879-
// now we have to update the sotrage sites in each vertex of the
2879+
// now we have to update the storage sites in each vertex of the
28802880
// diagram and also update the
28812881

28822882
// then update the storage sites for each vertex
@@ -3127,7 +3127,7 @@ Segment_Delaunay_graph_2<Gt,ST,D_S,LTag>::
31273127
file_output(std::ostream& os, Point_handle_mapper& P,
31283128
bool print_point_container) const
31293129
{
3130-
// ouput to a file
3130+
// output to a file
31313131
size_type n = this->_tds.number_of_vertices();
31323132
size_type m = this->_tds.number_of_full_dim_faces();
31333133

Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Voronoi_vertex_ring_C2.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1502,7 +1502,7 @@ class Voronoi_vertex_ring_C2
15021502

15031503
vertex_t v_type;
15041504

1505-
// index that indicates the refence point for the case PPS
1505+
// index that indicates the reference point for the case PPS
15061506
short pps_idx;
15071507

15081508
// the case ppp

Segment_Delaunay_graph_2/include/CGAL/Segment_Delaunay_graph_2/Voronoi_vertex_sqrt_field_C2.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1260,7 +1260,7 @@ class Voronoi_vertex_sqrt_field_C2
12601260

12611261
vertex_t v_type;
12621262

1263-
// index that indicates the refence point for the case PPS
1263+
// index that indicates the reference point for the case PPS
12641264
short pps_idx;
12651265

12661266
FT ux, uy, uz;

Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Basic_predicates_C2.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@ struct Basic_predicates_C2
10101010
// with the ray starting from corner and going to the
10111011
// direction of the center of the infinite box
10121012

1013-
// corner has homogenuous coordinates cx, cy, cw
1013+
// corner has homogeneous coordinates cx, cy, cw
10141014
RT cx, cy, cw;
10151015
compute_intersection_of_lines(lhor, lver, cx, cy, cw);
10161016

Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Bisector_Linf.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ class Bisector_Linf
200200
else {
201201
Oriented_side side = lseg.oriented_side(pnt);
202202

203-
// point pp sould not lie on the supporting line of q
203+
// point pp should not lie on the supporting line of q
204204
CGAL_assertion(! (side == ON_ORIENTED_BOUNDARY));
205205

206206
Point_2 points[3];
@@ -298,7 +298,7 @@ class Bisector_Linf
298298
&& lseg.has_on_negative_side(pnt)) ) {
299299
// pcfirst is center of square,
300300
// pfirst = phor, upward direction
301-
// pclast is center of sqaure, plast = pver, left direction
301+
// pclast is center of square, plast = pver, left direction
302302
pcfirst = Point_2(pmid_pfirst_pnt.x(),
303303
pmid_pfirst_pnt.y()+seglenhalffirst);
304304
pclast = Point_2(pmid_plast_pnt.x()-seglenhalflast,
@@ -321,7 +321,7 @@ class Bisector_Linf
321321
&& lseg.has_on_negative_side(pnt)) ) {
322322
// pcfirst is center of square,
323323
// pfirst = pver, right direction
324-
// pclast is center of sqaure, plast = phor, upward dir
324+
// pclast is center of square, plast = phor, upward dir
325325
pcfirst = Point_2(pmid_pfirst_pnt.x()+seglenhalffirst,
326326
pmid_pfirst_pnt.y());
327327
pclast = Point_2(pmid_plast_pnt.x(),

Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Constructions_C2.h

+7-7
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ class Construct_sdg_bisector_2
341341
&& lseg.has_on_negative_side(pnt)) ) {
342342
//pcfirst is center of square,
343343
//pfirst = phor, upward direction
344-
//pclast is center of sqaure, plast = pver, left direction
344+
//pclast is center of square, plast = pver, left direction
345345
pcfirst = Point_2(pmid_pfirst_pnt.x(),
346346
pmid_pfirst_pnt.y()+seglenhalffirst);
347347
pclast = Point_2(pmid_plast_pnt.x()-seglenhalflast,
@@ -363,7 +363,7 @@ class Construct_sdg_bisector_2
363363
&& lseg.has_on_negative_side(pnt)) ) {
364364
//pcfirst is center of square,
365365
//pfirst = pver, right direction
366-
//pclast is center of sqaure, plast = phor, upward direction
366+
//pclast is center of square, plast = phor, upward direction
367367
pcfirst = Point_2(pmid_pfirst_pnt.x()+seglenhalffirst,
368368
pmid_pfirst_pnt.y());
369369
pclast = Point_2(pmid_plast_pnt.x(),
@@ -637,7 +637,7 @@ class Construct_sdg_bisector_ray_2
637637
|| (compare_x_2(seg.source(),seg.target()) == LARGER
638638
&& lseg.has_on_negative_side(pnt)) ) {
639639
//pcfirst is center of square , pfirst = phor, upward direction
640-
//pclast is center of sqaure, plast = pver, left direction
640+
//pclast is center of square, plast = pver, left direction
641641
pcfirst = Point_2(pmid_pfirst_pnt.x(),
642642
pmid_pfirst_pnt.y()+seglenhalffirst);
643643
pclast = Point_2(pmid_plast_pnt.x()-seglenhalflast,
@@ -658,7 +658,7 @@ class Construct_sdg_bisector_ray_2
658658
|| (compare_x_2(seg.source(),seg.target()) == LARGER
659659
&& lseg.has_on_negative_side(pnt)) ) {
660660
//pcfirst is center of square , pfirst = pver, right direction
661-
//pclast is center of sqaure, plast = phor, upward direction
661+
//pclast is center of square, plast = phor, upward direction
662662
pcfirst = Point_2(pmid_pfirst_pnt.x()+seglenhalffirst,
663663
pmid_pfirst_pnt.y());
664664
pclast = Point_2(pmid_plast_pnt.x(),
@@ -947,7 +947,7 @@ class Construct_sdg_bisector_segment_2
947947
Point_2 pnt = (p.is_point()) ? p.point() : q.point();
948948
Segment_2 seg = (p.is_segment()) ? p.segment() : q.segment();
949949
Site_2 siteseg = (p.is_point()) ? q : p;
950-
// lseg is the suporting line of the segment site
950+
// lseg is the supporting line of the segment site
951951
Line_2 lseg = siteseg.supporting_site().segment().supporting_line();
952952
// segment site is horizontal
953953
if (lseg.is_horizontal()) {
@@ -1104,7 +1104,7 @@ class Construct_sdg_bisector_segment_2
11041104
|| (compare_x_2(seg.source(),seg.target()) == LARGER
11051105
&& lseg.has_on_negative_side(pnt)) ) {
11061106
//pcfirst is center of square, pfirst = phor, upward direction
1107-
//pclast is center of sqaure, plast = pver, left direction
1107+
//pclast is center of square, plast = pver, left direction
11081108
pcfirst = Point_2(pmid_pfirst_pnt.x(),
11091109
pmid_pfirst_pnt.y()+seglenhalffirst);
11101110
pclast = Point_2(pmid_plast_pnt.x()-seglenhalflast,
@@ -1125,7 +1125,7 @@ class Construct_sdg_bisector_segment_2
11251125
|| (compare_x_2(seg.source(),seg.target()) == LARGER
11261126
&& lseg.has_on_negative_side(pnt)) ) {
11271127
//pcfirst is center of square , pfirst = pver, right direction
1128-
//pclast is center of sqaure, plast = phor, upward direction
1128+
//pclast is center of square, plast = phor, upward direction
11291129
pcfirst = Point_2(pmid_pfirst_pnt.x()+seglenhalffirst,
11301130
pmid_pfirst_pnt.y());
11311131
pclast = Point_2(pmid_plast_pnt.x(),

Segment_Delaunay_graph_Linf_2/include/CGAL/Segment_Delaunay_graph_Linf_2/Voronoi_vertex_ring_C2.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -3937,7 +3937,7 @@ class Voronoi_vertex_ring_C2
39373937

39383938
vertex_t v_type;
39393939

3940-
// index that indicates the refence point for the case PPS
3940+
// index that indicates the reference point for the case PPS
39413941
short pps_idx;
39423942

39433943
// philaris: different types are not needed any more

Set_movable_separability_2/examples/Set_movable_separability_2/is_pullout_direction_single_mold_trans_cast.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ int main(int argc, char* argv[])
4040
auto res = casting::is_pullout_direction(polygon, e_it, d);
4141
std::cout << "The polygon is " << (res ? "" : "not ")
4242
<< "castable using edge "
43-
<< index << " in vartical translation (" << d << ")" << std::endl;
43+
<< index << " in vertical translation (" << d << ")" << std::endl;
4444

4545
}
4646

Set_movable_separability_2/include/CGAL/Set_movable_separability_2/Single_mold_translational_casting/is_pullout_direction.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ is_pullout_direction(const CGAL::Polygon_2<CastingTraits_2>& pgn,
151151
segment_outer_circle.second,
152152
segment_outer_circle.first);
153153
if (!isordered) {
154-
// unlikely, this if must be true atleast once for any polygon - add ref
154+
// unlikely, this if must be true at least once for any polygon - add ref
155155
// to paper
156156
if (top_edge== pgn.edges_end()) top_edge=e_it;
157157
else return pgn.edges_end();

Set_movable_separability_2/include/CGAL/Set_movable_separability_2/Single_mold_translational_casting/pullout_directions.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ namespace Single_mold_translational_casting {
3232
* intersection in [firstClockwise,secondClockwise].
3333
* When a new semicircle appear the possible cases are as such:
3434
* (let f:=firstClockwise, s:=secondClockwise, a:=newSemicircleFirstClockwise , b:=newSemicircleSecondClockwise)
35-
* REMEBER THAT THIS ARE SEGMENTS ON A CIRCLE! NOT ON A LINE!
35+
* REMEMBER THAT THIS ARE SEGMENTS ON A CIRCLE! NOT ON A LINE!
3636
* 1. [f,s] contained in [a,b]
3737
* f s * f s * f s * f s
3838
* a b * a b * a b * a b
@@ -61,7 +61,7 @@ namespace Single_mold_translational_casting {
6161
* f s * f s
6262
* a b * b a
6363
* __________________* __________________
64-
* THIS CASE CANT HAPPEN!! [a,b] is an semicircle, and (f,s) is a semicircle or less
64+
* THIS CASE CAN'T HAPPEN!! [a,b] is a semicircle, and (f,s) is a semicircle or less
6565
*/
6666
template <typename CastingTraits_2>
6767
std::pair<bool, std::pair<typename CastingTraits_2::Direction_2,

Set_movable_separability_2/include/CGAL/Set_movable_separability_2/internal/Circle_arrangment.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ class Circle_arrangment {
242242
* \param[in] segment_outer_circle - the outer circle of the current segment of
243243
* the polygon.
244244
* \param[in] edge_ite this segment iterator
245-
* This is the main funtion of this code. It separates the cells in which the
245+
* This is the main function of this code. It separates the cells in which the
246246
* endpoints of the new arc is contained to two parts and increase m_count
247247
* for all the cells that the new arc covers. In the end the function
248248
* merge_adjacent_2_edges_and_remove_empty is called to remove redundant cells
@@ -409,7 +409,7 @@ class Circle_arrangment {
409409
* add_segment_outer_circle() which calls
410410
* merge_adjacent_2_edges_and_remove_empty().
411411
*
412-
* The funtions checks that the whole circle is a single cell, which can
412+
* The functions checks that the whole circle is a single cell, which can
413413
* happen only if this cell is of depth 2, so there is no need to check the
414414
* depth as well.
415415
* \return if all of the arrangement is in depth 2+

Set_movable_separability_2/package_info/Set_movable_separability_2/long_description.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Movable Separability of Sets is a class of problems that deal with moving sets of objects, such as polygons in the plane; the challange is to avoid collisions between the objects while considering different kinds of motions and various definitions of separation. At this point this package provides solutions to one subclass of problems related to 2D castings. In particular, each of these solutions handles a single moving polygon and a single stationary polygon, and considers a single translation of the moving polygon.
1+
Movable Separability of Sets is a class of problems that deal with moving sets of objects, such as polygons in the plane; the challenge is to avoid collisions between the objects while considering different kinds of motions and various definitions of separation. At this point this package provides solutions to one subclass of problems related to 2D castings. In particular, each of these solutions handles a single moving polygon and a single stationary polygon, and considers a single translation of the moving polygon.
22

33
The casting process is a form of manufacturing, where liquid material is poured into a mold, it solidifies, and then the object is pulled from the mold. The mold has to be designed in such a way that the object can be removed without breaking the mold. This is not always possible (e.g., a circle).
44

Shape_detection/doc/Shape_detection/Shape_detection.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ The points with assigned to them normal vectors are stored in `std::vector` and
438438

439439
\paragraph Shape_detection_RegionGrowingPoints_example_2D_circles Detecting 2D Circles
440440

441-
The following example shows a similar example, this time detecting circles instead of lines. In that case, we also preprocess points so that they are sorted according to their likelyhood of belonging to a circle:
441+
The following example shows a similar example, this time detecting circles instead of lines. In that case, we also preprocess points so that they are sorted according to their likelihood of belonging to a circle:
442442

443443
\cgalExample{Shape_detection/region_growing_circles_on_point_set_2.cpp}
444444

Shape_detection/include/CGAL/Shape_detection/Region_growing/Region_growing_on_polygon_mesh/Least_squares_plane_fit_region.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ namespace Polygon_mesh {
289289
// The best fit plane will be a plane fitted to all vertices of all
290290
// region faces with its normal being perpendicular to the plane.
291291
// Given that the points, and no normals, are used in estimating
292-
// the plane, the estimated normal will point into an arbitray
292+
// the plane, the estimated normal will point into an arbitrary
293293
// one of the two possible directions.
294294
// We flip it into the correct direction (the one that the majority
295295
// of faces agree with) below.

Shape_regularization/examples/Shape_regularization/regularize_100_segments_angles.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ int main(int argc, char *argv[]) {
3434
// Angle regularization.
3535
const FT max_angle_2 = FT(40);
3636

37-
// Create neigbor query and angle-based regularization model.
37+
// Create neighbor query and angle-based regularization model.
3838
Neighbor_query neighbor_query(segments);
3939
Angle_regularization angle_regularization(
4040
segments, CGAL::parameters::maximum_angle(max_angle_2));

Shape_regularization/examples/Shape_regularization/regularize_100_segments_offsets.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ int main(int argc, char *argv[]) {
4343
// Offset regularization.
4444
const FT max_offset_2 = FT(1) / FT(4);
4545

46-
// Create neigbor query and offset-based regularization model.
46+
// Create neighbor query and offset-based regularization model.
4747
Neighbor_query neighbor_query(segments);
4848
Offset_regularization offset_regularization(
4949
segments, CGAL::parameters::maximum_offset(max_offset_2));

Shape_regularization/examples/Shape_regularization/regularize_15_segments.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ int main(int argc, char *argv[]) {
5454
// Angle regularization.
5555
const FT max_angle_2 = FT(10);
5656

57-
// Create qp solver, neigbor query, and angle-based regularization model.
57+
// Create qp solver, neighbor query, and angle-based regularization model.
5858
Quadratic_program qp_angles;
5959
Neighbor_query neighbor_query(segments);
6060
Angle_regularization angle_regularization(

Shape_regularization/examples/Shape_regularization/regularize_real_data_2.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ int main(int argc, char *argv[]) {
6767
// Angle regularization.
6868
const FT max_angle_2 = FT(80);
6969

70-
// Create neigbor query and angle-based regularization model.
70+
// Create neighbor query and angle-based regularization model.
7171
Neighbor_query neighbor_query(segments);
7272
Angle_regularization angle_regularization(
7373
segments, CGAL::parameters::maximum_angle(max_angle_2));

Snap_rounding_2/doc/Snap_rounding_2/Concepts/SnapRoundingTraits_2.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ class ConstructIsoRectangle_2
223223
public:
224224

225225
/*!
226-
introduces an iso-oriented rectangle fo whose minimal `x` coordinate
226+
introduces an iso-oriented rectangle for whose minimal `x` coordinate
227227
is the one of `left`, the maximal `x` coordinate is the one of
228228
`right`, the minimal `y` coordinate is the one of `bottom`,
229229
the maximal `y` coordinate is the one of `top`.}

0 commit comments

Comments
 (0)