Crates.io | cga2d |
lib.rs | cga2d |
version | 0.4.0 |
source | src |
created_at | 2024-09-21 17:46:28.860692 |
updated_at | 2024-09-25 22:06:56.706708 |
description | 2D Conformal Geometric Algebra primitives |
homepage | |
repository | https://github.com/HactarCE/cga2d |
max_upload_size | |
id | 1382376 |
size | 70,590 |
cga2d
is a library for 2D Conformal Geometric Algebra with static types for various objects. It has traits for Multivector
and Blade
and types for blades of each grade, in addition to Rotor
, Flector
, and Rotoflector
.
There is currently no general-purpose multivector type with all 16 components, but I am open to adding one in the future if there is use for one.
Read [the documentation][docs] for more details.
The scalar type is f64
. I'm open to adding support for other scalar types, probably via feature flags. I'd prefer not to use generics, because that would greatly hinder ergonomics.