pub struct AlgebraicVariety {
pub dimension: usize,
pub degree: Rational64,
pub equations: Vec<String>,
}Expand description
Algebraic variety with intersection capabilities
Fields§
§dimension: usizeDimension of the variety
degree: Rational64Degree of the variety
equations: Vec<String>Defining equations (placeholder)
Implementations§
Source§impl AlgebraicVariety
impl AlgebraicVariety
Sourcepub fn from_multivector(_mv: MockMultivector) -> Self
pub fn from_multivector(_mv: MockMultivector) -> Self
Create variety from a multivector (placeholder for geometric algebra integration)
Sourcepub fn line_through_points(_p1: [i32; 3], _p2: [i32; 3]) -> MockMultivector
pub fn line_through_points(_p1: [i32; 3], _p2: [i32; 3]) -> MockMultivector
Create a line through two points
Sourcepub fn intersect_with(&self, _other: &Self) -> Vec<IntersectionPoint>
pub fn intersect_with(&self, _other: &Self) -> Vec<IntersectionPoint>
Intersect with another variety
Trait Implementations§
Source§impl Clone for AlgebraicVariety
impl Clone for AlgebraicVariety
Source§fn clone(&self) -> AlgebraicVariety
fn clone(&self) -> AlgebraicVariety
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AlgebraicVariety
impl RefUnwindSafe for AlgebraicVariety
impl Send for AlgebraicVariety
impl Sync for AlgebraicVariety
impl Unpin for AlgebraicVariety
impl UnwindSafe for AlgebraicVariety
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