mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-12 22:08:29 +00:00
Update documentation of half-edge approximation
This commit is contained in:
parent
56216e2255
commit
0e9e5c83e4
@ -1,9 +1,6 @@
|
||||
//! Edge approximation
|
||||
//! Half-edge approximation
|
||||
//!
|
||||
//! The approximation of a curve is its first vertex, combined with the
|
||||
//! approximation of its curve. The second vertex is left out, as edge
|
||||
//! approximations are usually used to build cycle approximations, and this way,
|
||||
//! the caller doesn't have to deal with duplicate vertices.
|
||||
//! See [`HalfEdgeApprox`].
|
||||
|
||||
use crate::{
|
||||
geometry::Geometry,
|
||||
@ -80,6 +77,11 @@ impl Approx for (&Handle<HalfEdge>, &Handle<Surface>) {
|
||||
}
|
||||
|
||||
/// An approximation of a [`HalfEdge`]
|
||||
///
|
||||
/// The approximation of a half-edge is its first vertex, combined with the
|
||||
/// approximation of its curve. The second vertex is left out, as half-edge
|
||||
/// approximations are usually used to build cycle approximations, and this way,
|
||||
/// the caller doesn't have to deal with duplicate vertices.
|
||||
#[derive(Debug, Eq, PartialEq, Hash, Ord, PartialOrd)]
|
||||
pub struct HalfEdgeApprox {
|
||||
/// The points that approximate the half-edge
|
||||
|
Loading…
Reference in New Issue
Block a user