Skip to content

Commit

Permalink
Add implementation note
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Apr 21, 2023
1 parent d906a0d commit 8d389c8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions crates/fj-kernel/src/operations/build/face.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ pub trait BuildFace {
impl BuildFace for Face {}

/// A polygon
///
/// # Implementation Note
///
/// Currently code that deals with `Polygon` might assume that the polygon has
/// no holes. Unless you create a `Polygon` yourself, or modify a `Polygon`'s
/// `face` field to have interior cycles, this should not affect you.
pub struct Polygon<const D: usize> {
/// The face that forms the polygon
pub face: Face,
Expand Down

0 comments on commit 8d389c8

Please sign in to comment.