pub struct Line(/* private fields */);
Expand description
A line element of the Geogebra construction
Implementations§
Source§impl Line
impl Line
Sourcepub fn set_display_label(&mut self, v: bool)
pub fn set_display_label(&mut self, v: bool)
Wether to display this line’s label
Sourcepub fn point_vector(point: impl Into<Point>, vector: impl Into<Numeric>) -> Self
pub fn point_vector(point: impl Into<Point>, vector: impl Into<Numeric>) -> Self
Make a line from a point and a direction vector
Sourcepub fn angle_bisector(
a: impl Into<Point>,
b: impl Into<Point>,
c: impl Into<Point>,
) -> Self
pub fn angle_bisector( a: impl Into<Point>, b: impl Into<Point>, c: impl Into<Point>, ) -> Self
Bisector of an angle
Sourcepub fn perpendicular(to: impl Into<Line>, through: impl Into<Point>) -> Self
pub fn perpendicular(to: impl Into<Line>, through: impl Into<Point>) -> Self
A line perpendicular to another, going through a point
Trait Implementations§
Source§impl From<Line> for Expression
impl From<Line> for Expression
impl Addable for Line
impl Object for Line
Auto Trait Implementations§
impl Freeze for Line
impl RefUnwindSafe for Line
impl !Send for Line
impl !Sync for Line
impl Unpin for Line
impl UnwindSafe for Line
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