mirror of https://github.com/CGAL/cgal
improve phrasing
This commit is contained in:
parent
c013d9d292
commit
146238d6bc
|
|
@ -31,8 +31,8 @@ in a square (`Random_points_in_square_2`),
|
||||||
on a circle (`Random_points_on_circle_2`),
|
on a circle (`Random_points_on_circle_2`),
|
||||||
on a segment (`Random_points_on_segment`),
|
on a segment (`Random_points_on_segment`),
|
||||||
in a square (`Random_points_on_square_2`),
|
in a square (`Random_points_on_square_2`),
|
||||||
and in a triangle (`Random_points_in_triangle_2`).
|
in a triangle (`Random_points_in_triangle_2`),
|
||||||
You can also use `Random_points_in_triangle_mesh_2` to generate random points in a `Triangulation_2`.
|
and in a triangle mesh (`Random_points_in_triangle_mesh_2`).
|
||||||
For generating grid points we provide three functions,
|
For generating grid points we provide three functions,
|
||||||
`points_on_segment_2()`,
|
`points_on_segment_2()`,
|
||||||
`points_on_square_grid_2()` that write to output iterators and
|
`points_on_square_grid_2()` that write to output iterators and
|
||||||
|
|
@ -40,10 +40,10 @@ an input iterator `Points_on_segment_2`.
|
||||||
|
|
||||||
For 3D points, input iterators are provided for random points uniformly
|
For 3D points, input iterators are provided for random points uniformly
|
||||||
distributed in a sphere (`Random_points_in_sphere_3`), in a triangle (`Random_points_in_triangle_3`),
|
distributed in a sphere (`Random_points_in_sphere_3`), in a triangle (`Random_points_in_triangle_3`),
|
||||||
in a tetrahedron (`Random_points_in_tetrahedron_3`), or cube (`Random_points_in_cube_3`) or on the boundary of a sphere
|
in a tetrahedron (`Random_points_in_tetrahedron_3`), in a cube (`Random_points_in_cube_3`), on the boundary of a sphere
|
||||||
(`Random_points_on_sphere_3`).
|
(`Random_points_on_sphere_3`), in a triangle mesh (`Random_points_on_triangle_mesh_3`),
|
||||||
There are also input iterators for `FaceListGraph` (`Random_points_on_triangle_mesh_3`) and
|
in a tetrahedron mesh (`Random_points_in_tetrahedral_mesh_3`), and on the boundary
|
||||||
`Mesh_complex_3_in_triangulation_3` (`Random_points_in_tetrahedral_mesh_3` and `Random_points_on_tetrahedral_mesh_boundary`).
|
of a tetrahedron mesh (`Random_points_on_tetrahedral_mesh_boundary`).
|
||||||
For generating 3D grid points, we provide the function
|
For generating 3D grid points, we provide the function
|
||||||
`points_on_cube_grid_3()` that writes to
|
`points_on_cube_grid_3()` that writes to
|
||||||
an output iterator.
|
an output iterator.
|
||||||
|
|
@ -116,15 +116,15 @@ for the example output.
|
||||||
Output of example program for point generators working
|
Output of example program for point generators working
|
||||||
\cgalFigureEnd
|
\cgalFigureEnd
|
||||||
|
|
||||||
\section GeneratorExample_mesh Example Generating Random Point Sets On Mesh
|
\section GeneratorExample_mesh Example Generating Random Point Sets On a Triangle Mesh
|
||||||
The following example demonstrates the use of the random point generator
|
The following example demonstrates the use of the random point generator
|
||||||
on a triangle mesh. We want to generate 100 points uniformly chosen on a Surface_mesh.
|
on a triangle mesh. We want to generate 100 points uniformly chosen on a `Polyhedron_3`.
|
||||||
See \cgalFigureRef{figureMeshPointGenerator}
|
See \cgalFigureRef{figureMeshPointGenerator}
|
||||||
\cgalExample{Generator/random_points_on_triangle_mesh_3.cpp}
|
\cgalExample{Generator/random_points_on_triangle_mesh_3.cpp}
|
||||||
|
|
||||||
|
|
||||||
\cgalFigureBegin{figureMeshPointGenerator,generator_mesh_3.png}
|
\cgalFigureBegin{figureMeshPointGenerator,generator_mesh_3.png}
|
||||||
Output of example program for point generators on mesh3 working
|
Output of example program for point generator on a triangle mesh
|
||||||
\cgalFigureEnd
|
\cgalFigureEnd
|
||||||
|
|
||||||
\section secsegment_example Examples Generating Segments
|
\section secsegment_example Examples Generating Segments
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue