Public Member Functions | |
None | __init__ (self) |
None | __init__ (self, Vector2f center, float radiusSq) |
bool | inside (self, Vector2f pt) |
bool | outside (self, Vector2f pt) |
Vector2f | center (self) |
None | center (self, Vector2f arg1) |
float | radiusSq (self) |
None | radiusSq (self, float arg1) |
Static Public Member Functions | |
None | __init__ (*args, **kwargs) |
Ball2f | operator (*args, **kwargs) |
Ball2f | operator (*args, **kwargs) |
Static Public Attributes | |
typing | elements = 2 |
Static Protected Attributes | |
typing | _offsetof_center = 0 |
typing | _offsetof_radiusSq = 8 |
Generated from: MR::Ball2f a ball = points surrounded by a sphere in arbitrary space with vector type V
|
static |
None mrmeshpy.Ball2f.__init__ | ( | self | ) |
None mrmeshpy.Ball2f.__init__ | ( | self, | |
Vector2f | center, | ||
float | radiusSq ) |
Implicit aggregate constructor.
Vector2f mrmeshpy.Ball2f.center | ( | self | ) |
ball's center
None mrmeshpy.Ball2f.center | ( | self, | |
Vector2f | arg1 ) |
bool mrmeshpy.Ball2f.inside | ( | self, | |
Vector2f | pt ) |
returns true if given point is strictly inside the ball (not on its spherical surface)
|
static |
|
static |
bool mrmeshpy.Ball2f.outside | ( | self, | |
Vector2f | pt ) |
returns true if given point is strictly outside the ball (not on its spherical surface)
float mrmeshpy.Ball2f.radiusSq | ( | self | ) |
ball's squared radius
None mrmeshpy.Ball2f.radiusSq | ( | self, | |
float | arg1 ) |
|
staticprotected |
|
staticprotected |
|
static |