pub trait BuildHalfEdge {
// Provided methods
fn unjoined(
path: SurfacePath,
boundary: impl Into<CurveBoundary<Point<1>>>,
core: &mut Core,
) -> HalfEdge { ... }
fn from_sibling(
sibling: &Handle<HalfEdge>,
start_vertex: Handle<Vertex>,
core: &mut Core,
) -> Handle<HalfEdge> { ... }
fn arc(
start: impl Into<Point<2>>,
end: impl Into<Point<2>>,
angle_rad: impl Into<Scalar>,
core: &mut Core,
) -> Handle<HalfEdge> { ... }
fn circle(
center: impl Into<Point<2>>,
radius: impl Into<Scalar>,
core: &mut Core,
) -> Handle<HalfEdge> { ... }
fn line_segment(
points_surface: [impl Into<Point<2>>; 2],
boundary: Option<[Point<1>; 2]>,
core: &mut Core,
) -> Handle<HalfEdge> { ... }
}Expand description
Build a HalfEdge
See module-level documentation for context.
Provided Methods§
Sourcefn unjoined(
path: SurfacePath,
boundary: impl Into<CurveBoundary<Point<1>>>,
core: &mut Core,
) -> HalfEdge
fn unjoined( path: SurfacePath, boundary: impl Into<CurveBoundary<Point<1>>>, core: &mut Core, ) -> HalfEdge
Create a half-edge that is not joined to a sibling
Sourcefn from_sibling(
sibling: &Handle<HalfEdge>,
start_vertex: Handle<Vertex>,
core: &mut Core,
) -> Handle<HalfEdge>
fn from_sibling( sibling: &Handle<HalfEdge>, start_vertex: Handle<Vertex>, core: &mut Core, ) -> Handle<HalfEdge>
Create a half-edge from its sibling
Sourcefn arc(
start: impl Into<Point<2>>,
end: impl Into<Point<2>>,
angle_rad: impl Into<Scalar>,
core: &mut Core,
) -> Handle<HalfEdge>
fn arc( start: impl Into<Point<2>>, end: impl Into<Point<2>>, angle_rad: impl Into<Scalar>, core: &mut Core, ) -> Handle<HalfEdge>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.