Thanks to visit codestin.com
Credit goes to docs.rs

Skip to main content

Crate use_projective

Crate use_projective 

Source
Expand description

§use-projective

Projective geometry primitives for the RustUse geometry workspace.

use-projective stores homogeneous coordinate records for projective points, lines, and planes. It does not attempt deep algebraic geometry.

§Example

use use_projective::ProjectivePoint;

let point = ProjectivePoint::new(vec![1.0, 2.0, 1.0]).expect("valid point");

assert_eq!(point.dimension(), 2);

Structs§

ProjectiveLine
A projective line represented by homogeneous coefficients.
ProjectivePlane
A projective plane descriptor.
ProjectivePoint
A projective point represented by homogeneous coordinates.