Module rust_3d::prelude [] [src]

Exporting often used types / traits for convenience

Reexports

pub use strong_types::*;
pub use interpolation_2d::*;
pub use traits::*;
pub use algorithms::*;
pub use filters::combinators::*;
pub use filters::transformers::*;

Structs

BoundingBox2D

BoundingBox2D, an axis aligned bounding box within 2D space

BoundingBox3D

BoundingBox3D, an axis aligned bounding box within 3D space

Face3

Face3, a face defined by 3 indices (e.g. used for Mesh)

FilterBox2D

FilterBox2D, a box filter within 2D space

FilterBox3D

FilterBox3D, a box filter within 3D space

FilterCircle

FilterCircle, a circle filter within 2D space

FilterOutlier3D

FilterOutlier3D, a filter which removes outliers by counting their neighbours in a search radius This can be used to compare two sets of points by removing those in A which aren't close enough to B Or to remove outliers within a single set For this use the same input to build this filter as to filter against Points will find themselves, so increase the required count by 1

FilterSphere

FilterSphere, a sphere filter within 3D space

HalfEdge

HalfEdge, the half edge data structure

Line2D

Line2D, a line within 2D space

Line3D

Line2D, a line within 3D space

LineSegment2D

LineSegment2D, a line segment within 2D space

LineSegment3D

LineSegment3D, a line segment within 3D space

Matrix4

Matrix4, a matrix with 4 rows and columns

Mesh3D

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

NonNegative

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

Norm2D

Norm2D, a normalized vector within 2D space

Norm3D

Norm3D, a normalized vector within 3D space

OcTree

OcTree

Point2D

Point2D, a point / position within 2D space

Point3D

Point3D, a point / position within 3D space

PointCloud2D

PointCloud2D, a collection of positions within 2D space

PointCloud3D

PointCloud3D, a collection of positions within 3D space

Positive

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

Ray2D

Ray2D, a ray within 2D space

Ray3D

Ray3D, a ray within 3D space

Enums

ErrorKind

The Error Enum used by rust-3d

OcNode

OcNode, which is a single node used within OcTree

PlyError
View

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

Traits

ToErrorKind

Trait used to convert other Errors to ErrorKind

Type Definitions

Result

Result type used by rust-3d