MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / Circle

Class Circle

02_ecosystem/geo/src/lib.rs:17–24  ·  view source on GitHub ↗

Circle object, coords and radius as properties

Source from the content-addressed store, hash-verified

15
16/// Circle object, coords and radius as properties
17pub struct Circle {
18 /// x-coordinate in 2D space
19 pub x: f64,
20 /// y-coordinate in 2D space
21 pub y: f64,
22 /// Radius, unit-less
23 pub radius: f64,
24}
25
26/// Circle object supports area computation
27impl Area for Circle {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected