Trait fj_kernel::builder::FaceBuilder
source · pub trait FaceBuilder {
// Required methods
fn add_interior(&mut self) -> Partial<Cycle>;
fn update_surface_as_plane(&mut self) -> Partial<Surface>;
fn infer_curves(&mut self);
}Expand description
Builder API for PartialFace
Required Methods§
sourcefn add_interior(&mut self) -> Partial<Cycle>
fn add_interior(&mut self) -> Partial<Cycle>
Add an interior cycle
sourcefn update_surface_as_plane(&mut self) -> Partial<Surface>
fn update_surface_as_plane(&mut self) -> Partial<Surface>
Update the face’s surface as a plane
The plane geometry is inferred from three of the face’s vertices. Also
infers any undefined SurfaceVertex positions.
Panics
Assumes that the face exterior has exactly three vertices to use. Panics otherwise. This is a temporary limitation, not a fundamental one. It could be overcome with some more work.
sourcefn infer_curves(&mut self)
fn infer_curves(&mut self)
Infer any undefined curves in the face