-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add cut_with_plane and new fast clip method #8721
base: master
Are you sure you want to change the base?
Conversation
} | ||
}; | ||
|
||
// TODO here we should integrate the epsilon to reuse existing points (moving them on the grid as an option?) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually we might want to move input points in the plane and update the oriented side.
* \cgalParamNBegin{geom_traits} | ||
* \cgalParamDescription{an instance of a geometric traits class} | ||
* \cgalParamType{a class model of `Kernel`} | ||
* \cgalParamDefault{a \cgal Kernel deduced from the point type, using `CGAL::Kernel_traits`} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* \cgalParamDefault{a \cgal Kernel deduced from the point type, using `CGAL::Kernel_traits`} | |
* \cgalParamDefault{a \cgal kernel deduced from the point type, using `CGAL::Kernel_traits`} |
* If `tm` is closed, the clipped part can be closed too if the named parameter `clip_volume` is set to `true`. | ||
* See Subsection \ref coref_clip for more details. | ||
* | ||
* \note `Plane_3` must be from the same %Kernel as the point of the internal vertex point map of `PolygonMesh`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here as well I would suggest to lowercase the word "kernel" as it is just a normal noun.
* @tparam NamedParameters a sequence of \ref bgl_namedparameters "Named Parameters" | ||
* | ||
* @param tm input triangulated surface mesh | ||
* @param plane plane whose negative side defines the half-space to intersect `tm` with. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* @param plane plane whose negative side defines the half-space to intersect `tm` with. | |
* @param plane plane whose negative side defines the halfspace to intersect `tm` with. |
* \cgalParamType{Boolean} | ||
* \cgalParamDefault{`false`} | ||
* \cgalParamExtra{If this option is set to `true`, `tm` is no longer required to be without self-intersection. | ||
* Setting this option to `true` will automatically set `throw_on_self_intersection` to `false` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will it override in case I use the wrong value for throw_on_self_intersection
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's what the last part of the sentence is saying. set -> reset would be better?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something like "overwrites" or "has precedence over a contradicting named parameter"
Replaces #6588
TODO
new_clip()
toclip()
(new_)split()
PMP::kernel()
based onclip()