Update documentation of ShellValidationError

This commit is contained in:
Hanno Braun 2023-08-18 13:09:21 +02:00
parent 207576f65f
commit c6df4c9d18

View File

@ -35,12 +35,11 @@ pub enum ShellValidationError {
)] )]
CurveCoordinateSystemMismatch(Vec<CurveCoordinateSystemMismatch>), CurveCoordinateSystemMismatch(Vec<CurveCoordinateSystemMismatch>),
/// [`Shell`] contains global_edges not referred to by two half-edges /// [`Shell`] is not watertight
#[error("Shell is not watertight")] #[error("Shell is not watertight")]
NotWatertight, NotWatertight,
/// [`Shell`] contains half-edges that are coincident, but refer to /// [`Shell`] contains edges that are coincident, but not identical
/// different global_edges
#[error( #[error(
"`Shell` contains `Edge`s that are coincident but refer to different \ "`Shell` contains `Edge`s that are coincident but refer to different \
`Curve`s\n\ `Curve`s\n\
@ -49,7 +48,7 @@ pub enum ShellValidationError {
)] )]
CoincidentEdgesNotIdentical(Handle<Edge>, Handle<Edge>), CoincidentEdgesNotIdentical(Handle<Edge>, Handle<Edge>),
/// [`Shell`] contains half-edges that are identical, but do not coincide /// [`Shell`] contains edges that are identical, but do not coincide
#[error( #[error(
"Shell contains `Edge`s that are identical but do not coincide\n\ "Shell contains `Edge`s that are identical but do not coincide\n\
Edge 1: {edge_a:#?}\n\ Edge 1: {edge_a:#?}\n\