Public Member Functions | |
| __init__ (self, *args, **kwargs) | |
| bool | inside (self, float pt) |
| bool | outside (self, float pt) |
| float | center (self) |
| float | radiusSq (self) |
Static Public Attributes | |
| typing | elements = 1 |
Static Protected Attributes | |
| typing | _offsetof_center = 0 |
| typing | _offsetof_radiusSq = 4 |
Generated from: MR::Ball1f a ball = points surrounded by a sphere in arbitrary space with vector type V
| mrmeshpy.ConstBall1f.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstBall1f) -> None 2. __init__(self: meshlib.mrmeshpy.ConstBall1f, arg0: meshlib.mrmeshpy.ConstBall1f) -> None Implicit copy constructor. 3. __init__(self: meshlib.mrmeshpy.ConstBall1f, center: float, radiusSq: float) -> None Implicit aggregate constructor. 4. __init__(self: meshlib.mrmeshpy.ConstBall1f, : meshlib.mrmeshpy.ConstBall1f) -> None
| float mrmeshpy.ConstBall1f.center | ( | self | ) |
ball's center
Reimplemented in mrmeshpy.Ball1f, and mrmeshpy.Ball1f.
| bool mrmeshpy.ConstBall1f.inside | ( | self, | |
| float | pt ) |
returns true if given point is strictly inside the ball (not on its spherical surface)
| bool mrmeshpy.ConstBall1f.outside | ( | self, | |
| float | pt ) |
returns true if given point is strictly outside the ball (not on its spherical surface)
| float mrmeshpy.ConstBall1f.radiusSq | ( | self | ) |
ball's squared radius
Reimplemented in mrmeshpy.Ball1f, and mrmeshpy.Ball1f.
|
staticprotected |
|
staticprotected |
|
static |