Enum geo_aid::generator::expression::LineExpr
source · pub enum LineExpr {
Line(LinePoint),
AngleBisector(AngleBisector),
PerpendicularThrough(PerpendicularThrough),
ParallelThrough(ParallelThrough),
}Expand description
Defines a line expression.
Variants§
Line(LinePoint)
A line in euclidean space. defined by two points.
AngleBisector(AngleBisector)
An angle bisector.
PerpendicularThrough(PerpendicularThrough)
Generates a line perpendicular to $1 going through $2
ParallelThrough(ParallelThrough)
Generates a line parallel to $1 going through $2
Trait Implementations§
source§impl Evaluate for LineExpr
impl Evaluate for LineExpr
type Output = Line
source§fn evaluate(&self, args: &EvaluationArgs<'_>) -> Result<Line, EvaluationError>
fn evaluate(&self, args: &EvaluationArgs<'_>) -> Result<Line, EvaluationError>
Evaluates the thing. Read more
source§fn evaluate_weights(&self) -> Weights
fn evaluate_weights(&self) -> Weights
Evaluates weights.
Auto Trait Implementations§
impl RefUnwindSafe for LineExpr
impl Send for LineExpr
impl Sync for LineExpr
impl Unpin for LineExpr
impl UnwindSafe for LineExpr
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