☰
Tetragon
Methods
new
Trait Implementations
IntoSubdivisions
IntoTetrahedrons
IntoTrigons
Rotate
In plexus::primitive
?
Type Definition
plexus
::
primitive
::
Tetragon
source
·
[
−
]
pub type Tetragon<G> =
NGon
<G, 4>;
Expand description
Quadrilateral.
Implementations
source
impl<G>
Tetragon
<G>
source
pub fn
new
(a: G, b: G, c: G, d: G) -> Self
Trait Implementations
source
impl<T>
IntoSubdivisions
for
Tetragon
<T>
where
T:
Clone
+
Interpolate
<Output = T>,
type
Output
=
ArrayVec
<
NGon
<<
NGon
<T, 4_usize> as
Topological
>::
Vertex
, 4_usize>, 4_usize>
source
fn
into_subdivisions
(self) -> Self::
Output
source
impl<T>
IntoTetrahedrons
for
Tetragon
<T>
where
T:
Clone
+
Interpolate
<Output = T>,
source
fn
into_tetrahedrons
(self) ->
ArrayVec
<
Trigon
<Self::
Vertex
>, 4>
source
impl<T>
IntoTrigons
for
Tetragon
<T>
where
T:
Clone
,
type
Output
=
ArrayVec
<
NGon
<<
NGon
<T, 4_usize> as
Topological
>::
Vertex
, 3_usize>, 2_usize>
source
fn
into_trigons
(self) -> Self::
Output
source
impl<G>
Rotate
for
Tetragon
<G>
source
fn
rotate
(self, n:
isize
) -> Self