pub trait BuildHalfEdge {
// Provided methods
fn unjoined(
curve: Curve,
boundary: [Point<1>; 2],
services: &mut Services,
) -> HalfEdge { ... }
fn arc(
start: impl Into<Point<2>>,
end: impl Into<Point<2>>,
angle_rad: impl Into<Scalar>,
services: &mut Services,
) -> HalfEdge { ... }
fn circle(radius: impl Into<Scalar>, services: &mut Services) -> HalfEdge { ... }
fn line_segment(
points_surface: [impl Into<Point<2>>; 2],
boundary: Option<[Point<1>; 2]>,
services: &mut Services,
) -> HalfEdge { ... }
fn line_segment_from_global_points(
points_global: [impl Into<Point<3>>; 2],
surface: &Surface,
boundary: Option<[Point<1>; 2]>,
services: &mut Services,
) -> HalfEdge { ... }
}Expand description
Build a HalfEdge
Provided Methods§
Sourcefn unjoined(
curve: Curve,
boundary: [Point<1>; 2],
services: &mut Services,
) -> HalfEdge
fn unjoined( curve: Curve, boundary: [Point<1>; 2], services: &mut Services, ) -> HalfEdge
Create a half-edge that is not joined to another
Sourcefn arc(
start: impl Into<Point<2>>,
end: impl Into<Point<2>>,
angle_rad: impl Into<Scalar>,
services: &mut Services,
) -> HalfEdge
fn arc( start: impl Into<Point<2>>, end: impl Into<Point<2>>, angle_rad: impl Into<Scalar>, services: &mut Services, ) -> 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.