Crate rust_3d [] [src]

3D/2D library written in Rust. Offering useful containers, structures and algorithms for 2D and 3D space. Meant as basis for numeric algorithms, viewers, game engines, ...

Modules

bounding_box_2d

BoundingBox2D, an axis aligned bounding box within 2D space

bounding_box_3d

BoundingBox3D, an axis aligned bounding box within 3D space

compressed_point_3d

CompressedPoint3D

compressed_point_cloud_3d

CompressedPointCloud3D

factory_2d

functions used for the creation of 2D shapes and geometries

filters

Containing filters

functions

utiliy functions

impls

rust-3d trait implementations for standard containers / structs

interpolation_2d

interpolations within 2D space. E.g. bezier, linear, cosine

io

Containing IO functions / traits / types

kd_tree

KdTree

matrix4

Matrix4, a matrix with 4 rows and columns

matrix4_pipe

Matrix4Pipe, which makes it easier to pipe different matrices in a defined order

mesh_3d

Mesh3D, a mesh with tri-faces within 3D space

norm_2d

Norm2D, a normalized vector within 2D space

norm_3d

Norm3D, a normalized vector within 3D space

oc_node

OcNode, which is a single node used within OcTree

oc_tree

OcTree

plane_3d

Plane3D, a plane within 3D space

point_2d

Point2D, a point / position within 2D space

point_3d

Point3D, a point / position within 3D space

point_cloud_2d

PointCloud2D, a collection of positions within 2D space

point_cloud_3d

PointCloud3D, a collection of positions within 3D space

positive

Positive, a wrapper for a f64 value, ensuring it is always > 0

result

Result, the result type used within rust-3d. Also defining the error enum and several transformation methods between error types.

test_helper

helper functions for testing (these functions unwrap and panic, only use for tests)

traits

Containing traits used by rust-3d

view

View, which defines a restriced / full view onto any T. E.g. used when filtering collections of points.