Skip to main content

IsGeometryTableBase

Trait IsGeometryTableBase 

Source
pub trait IsGeometryTableBase<'a>
where <Self::Tetrahedron as HasEdges>::Edge: IsLine<'a, Self::Point>,
{ type Point: IsPoint; type Normal: IsUnitVector; type Line: IsLine<'a, Self::Point>; type Face: IsPolygon<'a, Self::Point, Self::Normal>; type Triangle: IsTriangle<'a, Self::Point, Self::Normal>; type Tetrahedron: IsTetrahedron<'a, Self::Point, Self::Normal>; type PointTable: IsGeometryTable<Key = PointId, Item = Self::Point> + ?Sized + 'a; type LineTable: IsGeometryTable<Key = LineId, Item = Self::Line> + ?Sized + 'a; type FaceTable: IsGeometryTable<Key = FaceId, Item = Self::Face> + ?Sized + 'a; type TriangleTable: IsGeometryTable<Key = TriangleId, Item = Self::Triangle> + ?Sized + 'a; type TetrahedronTable: IsGeometryTable<Key = TetrahedronId, Item = Self::Tetrahedron> + ?Sized + 'a; // Required methods fn point_table(&self) -> &Self::PointTable; fn point_table_mut(&mut self) -> &mut Self::PointTable; fn line_table(&self) -> &Self::LineTable; fn line_table_mut(&mut self) -> &mut Self::LineTable; fn face_table(&self) -> &Self::FaceTable; fn face_table_mut(&mut self) -> &mut Self::FaceTable; fn triangle_table(&self) -> &Self::TriangleTable; fn triangle_table_mut(&mut self) -> &mut Self::TriangleTable; fn tetrahedron_table(&self) -> &Self::TetrahedronTable; fn tetrahedron_table_mut(&mut self) -> &mut Self::TetrahedronTable; }
Expand description

Root registry that owns or exposes the current core geometry tables.

Required Associated Types§

Source

type Point: IsPoint

Point primitive stored in the point table.

Source

type Normal: IsUnitVector

Unit normal type used by polygonal faces and triangles.

Source

type Line: IsLine<'a, Self::Point>

Line primitive stored in the line table.

Source

type Face: IsPolygon<'a, Self::Point, Self::Normal>

Polygon face primitive stored in the face table.

Source

type Triangle: IsTriangle<'a, Self::Point, Self::Normal>

Triangle primitive stored in the triangle table.

Source

type Tetrahedron: IsTetrahedron<'a, Self::Point, Self::Normal>

Tetrahedron primitive stored in the tetrahedron table.

Source

type PointTable: IsGeometryTable<Key = PointId, Item = Self::Point> + ?Sized + 'a

Concrete point table type.

Source

type LineTable: IsGeometryTable<Key = LineId, Item = Self::Line> + ?Sized + 'a

Concrete line table type.

Source

type FaceTable: IsGeometryTable<Key = FaceId, Item = Self::Face> + ?Sized + 'a

Concrete face table type.

Source

type TriangleTable: IsGeometryTable<Key = TriangleId, Item = Self::Triangle> + ?Sized + 'a

Concrete triangle table type.

Source

type TetrahedronTable: IsGeometryTable<Key = TetrahedronId, Item = Self::Tetrahedron> + ?Sized + 'a

Concrete tetrahedron table type.

Required Methods§

Source

fn point_table(&self) -> &Self::PointTable

Returns an immutable reference to the point table.

Source

fn point_table_mut(&mut self) -> &mut Self::PointTable

Returns a mutable reference to the point table.

Source

fn line_table(&self) -> &Self::LineTable

Returns an immutable reference to the line table.

Source

fn line_table_mut(&mut self) -> &mut Self::LineTable

Returns a mutable reference to the line table.

Source

fn face_table(&self) -> &Self::FaceTable

Returns an immutable reference to the face table.

Source

fn face_table_mut(&mut self) -> &mut Self::FaceTable

Returns a mutable reference to the face table.

Source

fn triangle_table(&self) -> &Self::TriangleTable

Returns an immutable reference to the triangle table.

Source

fn triangle_table_mut(&mut self) -> &mut Self::TriangleTable

Returns a mutable reference to the triangle table.

Source

fn tetrahedron_table(&self) -> &Self::TetrahedronTable

Returns an immutable reference to the tetrahedron table.

Source

fn tetrahedron_table_mut(&mut self) -> &mut Self::TetrahedronTable

Returns a mutable reference to the tetrahedron table.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§