[][src]Module rust_3d::prelude

Exporting often used types / traits for convenience

Re-exports

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

Structs

BoundingBox2D

BoundingBox2D, an axis aligned bounding box within 2D space

BoundingBox3D

BoundingBox3D, an axis aligned bounding box within 3D space

Box2D

Box2D, a box in 2D space

Box3D

Box3D, a box in 3D space

BoxUnaligned3D

Not axis aligned Box in 3D space

Circle

Circle, a circle in 2D space

Cluster

Spatial clustering of data on the x/y plane

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

Line3D, a line within 3D space

LineSegment2D

LineSegment2D, a line segment within 2D space

LineSegment3D

LineSegment3D, a line segment within 3D space

Matrix3

Matrix3, a matrix with 3 rows and columns

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 https://en.wikipedia.org/wiki/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

Polygon2D

Polygon2D, a polygon within 2D space

Polygon3D

Polygon3D, a polygon 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

SATCollider

Helper to check for collisions between IsSATObject

Sphere

Sphere, a sphere in 3D space

TriFace3D

Face with 3 corners in 3D space

Enums

AABBTree2D

AABBTree2D, an axis aligned bounding box tree in 2D for fast collision detection

Collider3D

Collider enumeration for 3D space

ErrorKind

The Error Enum used by rust-3d

PlyError
Precision

Used to flag precision e.g. for IO operations (32 or 64 bit)

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