mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-04 09:58:27 +00:00
Add doc comment
This commit is contained in:
parent
663e8017e2
commit
7fc6bc4634
@ -85,6 +85,15 @@ fn half_edges_to_points(face: &Face, target: &mut Vec<TriangulationPoint>) {
|
||||
)
|
||||
}
|
||||
|
||||
/// # Approximate an half-edge
|
||||
///
|
||||
/// The approximation of an half-edge is the approximation of its curve within
|
||||
/// the boundary defined by the half-edge's start and end vertices, plus the
|
||||
/// position of the start vertex.
|
||||
///
|
||||
/// By including the start vertex and not the end vertex, a whole chain of
|
||||
/// half-edges can be approximated by simply appending the approximations of
|
||||
/// each half-edge, without the necessity of any deduplication of points.
|
||||
fn approximate_half_edge(
|
||||
HalfEdgeWithEndVertex {
|
||||
half_edge,
|
||||
|
Loading…
Reference in New Issue
Block a user