Public Member Functions | |
| bool | __eq__ (self, Sphere2f b) |
| None | __init__ (self) |
| None | __init__ (self, Vector2f c, float r) |
| None | __init__ (self, Sphere2f arg0) |
| float | distance (self, Vector2f x) |
| float | distanceSq (self, Vector2f x) |
| Vector2f | project (self, Vector2f x) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| Sphere2f | operator (*args, **kwargs) |
| Sphere2f | operator (*args, **kwargs) |
Static Protected Attributes | |
| typing | _offsetof_center = 0 |
| typing | _offsetof_radius = 8 |
Generated from: MR::Sphere2f
|
static |
| None mrmeshpy.Sphere2f.__init__ | ( | self | ) |
| None mrmeshpy.Sphere2f.__init__ | ( | self, | |
| Vector2f | c, | ||
| float | r ) |
| None mrmeshpy.Sphere2f.__init__ | ( | self, | |
| Sphere2f | arg0 ) |
Implicit copy constructor.
| bool mrmeshpy.Sphere2f.__eq__ | ( | self, | |
| Sphere2f | b ) |
| float mrmeshpy.Sphere2f.distance | ( | self, | |
| Vector2f | x ) |
returns signed distance from given point to this sphere: positive - outside, zero - on sphere, negative - inside
| float mrmeshpy.Sphere2f.distanceSq | ( | self, | |
| Vector2f | x ) |
returns squared distance from given point to this sphere
|
static |
|
static |
|
staticprotected |
|
staticprotected |