Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Appearance of " Hilbert Sorting" in documentation. #7702

Closed
albert-github opened this issue Sep 7, 2023 · 1 comment · Fixed by #7705
Closed

Appearance of " Hilbert Sorting" in documentation. #7702

albert-github opened this issue Sep 7, 2023 · 1 comment · Fixed by #7705
Assignees
Milestone

Comments

@albert-github
Copy link
Contributor

Looking at the documentation of the Spatial_sorting package (Spatial_sorting/index.html)

image

the gray background is a bit strange and comes from the fact that a <blockquote> is used (in Spatial_sorting/doc/Spatial_sorting/Spatial_sorting.txt).

Probably better would bee something like:
image

resulting from:

\section sechilbert_sorting Hilbert Sorting

In 2D, one can construct a space filling curve, that is a mapping \f$ f\f$ of \f$ [0,1]\f$
to the unit square \f$ [0,1]^2\f$, such that \f$ f(0)=(0,0)\f$ and \f$ f(1)=(1,0)\f$
in the following way:
the unit square is subdivided in four such that

\par
\f$ f([0,\frac{1}{4}])=[0,\frac{1}{2}]^2\f$,
\f$ f([\frac{1}{4},\frac{1}{2}])=[0,\frac{1}{2}]\times[\frac{1}{2},1]\f$,
\f$ f([\frac{1}{2},\frac{3}{4}])=[\frac{1}{2},1]^2\f$,
and
\f$ f([\frac{3}{4},1])=[\frac{1}{2},1]\times[0,\frac{1}{2}].\f$
<br>
\f$ f(\frac{1}{4})=(0,\frac{1}{2})\f$,
\f$ f(\frac{1}{2})=(\frac{1}{2},\frac{1}{2})\f$, and
\f$ f(\frac{3}{4})=(1,\frac{1}{2})\f$.
albert-github added a commit to albert-github/cgal that referenced this issue Sep 7, 2023
Remove gray background and get some indentation
@albert-github
Copy link
Contributor Author

I've just pushed a proposed patch, pull request #7705

@lrineau lrineau added this to the 6.0-beta milestone Sep 7, 2023
lrineau added a commit that referenced this issue Sep 13, 2023
issue #7702 Appearance of " Hilbert Sorting" in documentation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants