[−][src]Trait plexus::geometry::compose::FaceCentroid
Associated Types
type Centroid
Required methods
fn centroid<M>(face: FaceView<M, Self>) -> Result<Self::Centroid, GraphError> where
M: Reborrow,
M::Target: AsStorage<ArcPayload<Self>> + AsStorage<FacePayload<Self>> + AsStorage<VertexPayload<Self>>,
M: Reborrow,
M::Target: AsStorage<ArcPayload<Self>> + AsStorage<FacePayload<Self>> + AsStorage<VertexPayload<Self>>,
Implementors
impl<G> FaceCentroid for G where
G: Geometry,
G::Vertex: Average,
[src]
G: Geometry,
G::Vertex: Average,
type Centroid = G::Vertex
fn centroid<M>(face: FaceView<M, Self>) -> Result<Self::Centroid, GraphError> where
M: Reborrow,
M::Target: AsStorage<ArcPayload<Self>> + AsStorage<FacePayload<Self>> + AsStorage<VertexPayload<Self>>,
[src]
M: Reborrow,
M::Target: AsStorage<ArcPayload<Self>> + AsStorage<FacePayload<Self>> + AsStorage<VertexPayload<Self>>,