Add doc comment

This commit is contained in:
Hanno Braun 2025-04-10 12:13:39 +02:00
parent 663e8017e2
commit 7fc6bc4634

View File

@ -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,