valora 0.2.12

A brush for generative fine art.
Documentation
1
2
3
4
5
6
7
use crate::P2;

/// A trait for objects which have a spatial center.
pub trait Center {
    /// Returns the center of the object.
    fn center(&self) -> P2;
}