pub struct BoundarySurface;Expand description
Spans a face standing on its own between the curves edges — two of
them ruled, a closed loop of them filled, see the module docs — for the
operation B. A curve is an edge, of a face or of a wire — a 3-D
sketch’s line, arc or spline — or a planar sketch’s curve. The curves
are copied, the originals left as they are; with tangent, the fill
continues the faces those of its edges bound smoothly.
The face is named boundary(B). The copy of each curve or end X
picked is boundary(B,X) — for a sketch’s curve X is K,c3, and
its ends K,p1 (see [NamedCurve]); a straight edge a ruled face adds between
vertices V and W is boundary(B,V,W). A patch of quadrilaterals
names the one along edge E boundary(B,E,patch), the inner polygon
boundary(B,inner), its side alongside E boundary(B,E,inner), its
corner off vertex V boundary(B,V,inner) and the spoke between them
boundary(B,V,spoke).
Trait Implementations§
Source§impl Clone for BoundarySurface
impl Clone for BoundarySurface
Source§fn clone(&self) -> BoundarySurface
fn clone(&self) -> BoundarySurface
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for BoundarySurface
Source§impl Debug for BoundarySurface
impl Debug for BoundarySurface
Source§impl Default for BoundarySurface
impl Default for BoundarySurface
Source§fn default() -> BoundarySurface
fn default() -> BoundarySurface
Source§impl<'de> Deserialize<'de> for BoundarySurface
impl<'de> Deserialize<'de> for BoundarySurface
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Editable for BoundarySurface
impl Editable for BoundarySurface
const INFO: OperationInfo = <BoundarySurface as ::geop_core_editor::part_operation::PartOperation>::INFO
Source§type EditingState = FormState<<BoundarySurface as PartOperation>::Session>
type EditingState = FormState<<BoundarySurface as PartOperation>::Session>
Source§fn new_args(context: &Context<'_>) -> Self::Args
fn new_args(context: &Context<'_>) -> Self::Args
Source§fn presentation(
context: &Context<'_>,
args: &Self::Args,
editing: &Self::EditingState,
) -> Form
fn presentation( context: &Context<'_>, args: &Self::Args, editing: &Self::EditingState, ) -> Form
Source§fn process_user_event(
context: &Context<'_>,
args: &Self::Args,
editing: &Self::EditingState,
event: Event,
) -> (Self::Args, Self::EditingState)
fn process_user_event( context: &Context<'_>, args: &Self::Args, editing: &Self::EditingState, event: Event, ) -> (Self::Args, Self::EditingState)
event.Source§impl ModelOperation for BoundarySurface
impl ModelOperation for BoundarySurface
Source§fn build(
model: &mut NamedModel,
reader: &Reader<'_>,
step: &str,
args: &BoundarySurfaceArgs,
) -> GeopResult<()>
fn build( model: &mut NamedModel, reader: &Reader<'_>, step: &str, args: &BoundarySurfaceArgs, ) -> GeopResult<()>
step — what everything it makes is named after —
into model, reading whatever else it builds on through reader,
so the step is rebuilt when that changes.Source§impl Operation for BoundarySurface
impl Operation for BoundarySurface
Source§const KIND: &'static str = <BoundarySurface as ::geop_core_editor::part_operation::PartOperation>::KIND
const KIND: &'static str = <BoundarySurface as ::geop_core_editor::part_operation::PartOperation>::KIND
Source§type Args = <BoundarySurface as PartOperation>::Args
type Args = <BoundarySurface as PartOperation>::Args
Source§fn run(ctx: &mut StepContext<'_>, args: &Self::Args) -> __GeopResult<()>
fn run(ctx: &mut StepContext<'_>, args: &Self::Args) -> __GeopResult<()>
ctx (see
StepContext::produce): cheap, since it runs in every run. What
takes work is done in the makes, which run only when what they read
changed.Source§impl PartOperation for BoundarySurface
impl PartOperation for BoundarySurface
Source§fn new_args(_: &Context<'_>) -> BoundarySurfaceArgs
fn new_args(_: &Context<'_>) -> BoundarySurfaceArgs
Nothing picked yet.
Source§fn form<'a>(
context: &'a Context<'a>,
args: &BoundarySurfaceArgs,
_: &FormState<()>,
) -> EditForm<'a, BoundarySurfaceArgs>
fn form<'a>( context: &'a Context<'a>, args: &BoundarySurfaceArgs, _: &FormState<()>, ) -> EditForm<'a, BoundarySurfaceArgs>
The edges, picked, and those to be tangent along.
const INFO: OperationInfo
Source§type Args = BoundarySurfaceArgs
type Args = BoundarySurfaceArgs
Source§type Session = ()
type Session = ()
() for most.Source§fn run(ctx: &mut StepContext<'_>, args: &BoundarySurfaceArgs) -> GeopResult<()>
fn run(ctx: &mut StepContext<'_>, args: &BoundarySurfaceArgs) -> GeopResult<()>
ctx (see
StepContext::produce).