Trait fj_kernel::operations::BuildHalfEdge
source · pub trait BuildHalfEdge {
// Provided methods
fn unjoined(
curve: Curve,
boundary: [Point<1>; 2],
objects: &mut Service<Objects>
) -> HalfEdge { ... }
fn arc(
start: impl Into<Point<2>>,
end: impl Into<Point<2>>,
angle_rad: impl Into<Scalar>,
objects: &mut Service<Objects>
) -> HalfEdge { ... }
fn circle(
radius: impl Into<Scalar>,
objects: &mut Service<Objects>
) -> HalfEdge { ... }
fn line_segment(
points_surface: [impl Into<Point<2>>; 2],
boundary: Option<[Point<1>; 2]>,
objects: &mut Service<Objects>
) -> HalfEdge { ... }
fn line_segment_from_global_points(
points_global: [impl Into<Point<3>>; 2],
surface: &Surface,
boundary: Option<[Point<1>; 2]>,
objects: &mut Service<Objects>
) -> HalfEdge { ... }
}Expand description
Build a HalfEdge
Provided Methods§
sourcefn unjoined(
curve: Curve,
boundary: [Point<1>; 2],
objects: &mut Service<Objects>
) -> HalfEdge
fn unjoined( curve: Curve, boundary: [Point<1>; 2], objects: &mut Service<Objects> ) -> 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>,
objects: &mut Service<Objects>
) -> HalfEdge
fn arc( start: impl Into<Point<2>>, end: impl Into<Point<2>>, angle_rad: impl Into<Scalar>, objects: &mut Service<Objects> ) -> HalfEdge
sourcefn circle(radius: impl Into<Scalar>, objects: &mut Service<Objects>) -> HalfEdge
fn circle(radius: impl Into<Scalar>, objects: &mut Service<Objects>) -> HalfEdge
Create a circle