Struct geom::Circle [−][src]
Expand description
A circle, defined by a center and radius.
Fields
center: Pt2D
radius: Distance
Implementations
True if the point is inside the circle.
Get the boundary containing this circle.
Renders the circle as a polygon.
Renders some percent, between [0, 1], of the circle as a polygon. The polygon starts from 0 degrees. Be warned the resulting polygon doesn’t have a ring as its boundary!
Creates an outline around the circle, strictly contained with the circle’s original radius.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Circle
impl UnwindSafe for Circle
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self