pub struct GeometryTableRegistry { /* private fields */ }Expand description
Root registry holding the current concrete point, line, face, triangle, and tetrahedron tables.
This type is intentionally small and explicit so it can serve as the top-level integration object for applications building a geometry graph on top of the trait system.
Implementations§
Trait Implementations§
Source§impl Clone for GeometryTableRegistry
impl Clone for GeometryTableRegistry
Source§impl Debug for GeometryTableRegistry
impl Debug for GeometryTableRegistry
Source§impl Default for GeometryTableRegistry
impl Default for GeometryTableRegistry
Source§impl<'a> IsGeometryTableBase<'a> for GeometryTableRegistry
impl<'a> IsGeometryTableBase<'a> for GeometryTableRegistry
Source§type Point = CoordinateVector3D
type Point = CoordinateVector3D
Point primitive stored in the point table.
Source§type Normal = UnitVector3D
type Normal = UnitVector3D
Unit normal type used by polygonal faces and triangles.
Source§type Face = PolygonFace3D
type Face = PolygonFace3D
Polygon face primitive stored in the face table.
Source§type Triangle = Triangle3D
type Triangle = Triangle3D
Triangle primitive stored in the triangle table.
Source§type Tetrahedron = Tetrahedron3D
type Tetrahedron = Tetrahedron3D
Tetrahedron primitive stored in the tetrahedron table.
Source§type PointTable = Rc<RefCell<HashGeometryTable<PointId, CoordinateVector3D>>>
type PointTable = Rc<RefCell<HashGeometryTable<PointId, CoordinateVector3D>>>
Concrete point table type.
Source§type FaceTable = Rc<RefCell<HashGeometryTable<FaceId, PolygonFace3D>>>
type FaceTable = Rc<RefCell<HashGeometryTable<FaceId, PolygonFace3D>>>
Concrete face table type.
Source§type TriangleTable = Rc<RefCell<HashGeometryTable<TriangleId, Triangle3D>>>
type TriangleTable = Rc<RefCell<HashGeometryTable<TriangleId, Triangle3D>>>
Concrete triangle table type.
Source§type TetrahedronTable = Rc<RefCell<HashGeometryTable<TetrahedronId, Tetrahedron3D>>>
type TetrahedronTable = Rc<RefCell<HashGeometryTable<TetrahedronId, Tetrahedron3D>>>
Concrete tetrahedron table type.
Source§fn point_table(&self) -> &Self::PointTable
fn point_table(&self) -> &Self::PointTable
Returns an immutable reference to the point table.
Source§fn point_table_mut(&mut self) -> &mut Self::PointTable
fn point_table_mut(&mut self) -> &mut Self::PointTable
Returns a mutable reference to the point table.
Source§fn line_table(&self) -> &Self::LineTable
fn line_table(&self) -> &Self::LineTable
Returns an immutable reference to the line table.
Source§fn line_table_mut(&mut self) -> &mut Self::LineTable
fn line_table_mut(&mut self) -> &mut Self::LineTable
Returns a mutable reference to the line table.
Source§fn face_table(&self) -> &Self::FaceTable
fn face_table(&self) -> &Self::FaceTable
Returns an immutable reference to the face table.
Source§fn face_table_mut(&mut self) -> &mut Self::FaceTable
fn face_table_mut(&mut self) -> &mut Self::FaceTable
Returns a mutable reference to the face table.
Source§fn triangle_table(&self) -> &Self::TriangleTable
fn triangle_table(&self) -> &Self::TriangleTable
Returns an immutable reference to the triangle table.
Source§fn triangle_table_mut(&mut self) -> &mut Self::TriangleTable
fn triangle_table_mut(&mut self) -> &mut Self::TriangleTable
Returns a mutable reference to the triangle table.
Source§fn tetrahedron_table(&self) -> &Self::TetrahedronTable
fn tetrahedron_table(&self) -> &Self::TetrahedronTable
Returns an immutable reference to the tetrahedron table.
Source§fn tetrahedron_table_mut(&mut self) -> &mut Self::TetrahedronTable
fn tetrahedron_table_mut(&mut self) -> &mut Self::TetrahedronTable
Returns a mutable reference to the tetrahedron table.
Auto Trait Implementations§
impl !RefUnwindSafe for GeometryTableRegistry
impl !Send for GeometryTableRegistry
impl !Sync for GeometryTableRegistry
impl !UnwindSafe for GeometryTableRegistry
impl Freeze for GeometryTableRegistry
impl Unpin for GeometryTableRegistry
impl UnsafeUnpin for GeometryTableRegistry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more