pub struct CircleArc {
pub center: DVec2,
pub radius: f64,
pub start_angle: f64,
pub end_angle: f64,
}
Expand description
Struct to represent the circular arc approximation used in the arcs
bezier function.
Fields§
§center: DVec2
The center point of the circle.
radius: f64
The radius of the circle.
start_angle: f64
The start angle of the circle sector in rad.
end_angle: f64
The end angle of the circle sector in rad.
Trait Implementations§
source§impl PartialEq for CircleArc
impl PartialEq for CircleArc
impl Copy for CircleArc
impl StructuralPartialEq for CircleArc
Auto Trait Implementations§
impl RefUnwindSafe for CircleArc
impl Send for CircleArc
impl Sync for CircleArc
impl Unpin for CircleArc
impl UnwindSafe for CircleArc
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more