Update documentation of fj::Group

This commit is contained in:
Hanno Braun 2022-03-16 15:31:27 +01:00
parent c9f7ee495e
commit dbae52a811

View File

@ -98,20 +98,14 @@ impl From<Sweep> for Shape3d {
} }
} }
/// The union of two 3-dimensional shapes /// A group of two 3-dimensional shapes
///
/// A group is a collection of disjoint shapes. It is not a union, in that the
/// shapes in the group are not allowed to touch or overlap.
/// ///
/// # Limitations /// # Limitations
/// ///
/// Support for unions is somewhat limited right now. A union of 2 distinct /// Whether the shapes in the group touch or overlap is not currently checked.
/// shapes doesn't really create a new shape, but just an aggregation of the
/// two original shapes.
///
/// This means, for example, that generating the triangle mesh of the union does
/// not result in a proper triangle mesh, but rather the two, possibly
/// intersecting, triangle meshes of the original shapes.
///
/// See issue:
/// <https://github.com/hannobraun/Fornjot/issues/42>
#[derive(Clone, Debug)] #[derive(Clone, Debug)]
#[repr(C)] #[repr(C)]
pub struct Group { pub struct Group {