mirror of
https://github.com/hannobraun/Fornjot
synced 2025-02-27 09:35:52 +00:00
Update documentation of fj::Group
This commit is contained in:
parent
c9f7ee495e
commit
dbae52a811
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user