Enum geo_aid::generator::expression::PointExpr
source · pub enum PointExpr {
Free(FreePoint),
Average(Average<PointExpr>),
LineLineIntersection(LineLineIntersection),
}Expand description
Defines a point expression.
Variants§
Free(FreePoint)
An adjustable indexed point in euclidean space
Average(Average<PointExpr>)
Takes the average value (arithmetic mean)
LineLineIntersection(LineLineIntersection)
The point where two lines cross.
Trait Implementations§
source§impl Evaluate for PointExpr
impl Evaluate for PointExpr
type Output = Complex
source§fn evaluate(
&self,
args: &EvaluationArgs<'_>
) -> Result<Complex, EvaluationError>
fn evaluate( &self, args: &EvaluationArgs<'_> ) -> Result<Complex, 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 PointExpr
impl Send for PointExpr
impl Sync for PointExpr
impl Unpin for PointExpr
impl UnwindSafe for PointExpr
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