Public Member Functions | |
| bool | __eq__ (self, ConstSphere2f b) |
| __init__ (self, *args, **kwargs) | |
| bool | __ne__ (self, ConstSphere2f b) |
| float | distance (self, ConstVector2f x) |
| float | distanceSq (self, ConstVector2f x) |
| Vector2f | project (self, ConstVector2f x) |
| ConstVector2f | center (self) |
| float | radius (self) |
Static Protected Attributes | |
| typing | _offsetof_center = 0 |
| typing | _offsetof_radius = 8 |
Generated from: MR::Sphere2f
| mrmeshpy.ConstSphere2f.__init__ | ( | self, | |
| * | args, | ||
| ** | kwargs ) |
__init__(*args, **kwargs) Overloaded function. 1. __init__(self: meshlib.mrmeshpy.ConstSphere2f) -> None 2. __init__(self: meshlib.mrmeshpy.ConstSphere2f, c: meshlib.mrmeshpy.ConstVector2f, r: float) -> None 3. __init__(self: meshlib.mrmeshpy.ConstSphere2f, arg0: meshlib.mrmeshpy.ConstSphere2f) -> None Implicit copy constructor. 4. __init__(self: meshlib.mrmeshpy.ConstSphere2f, : meshlib.mrmeshpy.ConstSphere2f) -> None
| bool mrmeshpy.ConstSphere2f.__eq__ | ( | self, | |
| ConstSphere2f | b ) |
| bool mrmeshpy.ConstSphere2f.__ne__ | ( | self, | |
| ConstSphere2f | b ) |
| ConstVector2f mrmeshpy.ConstSphere2f.center | ( | self | ) |
Reimplemented in mrmeshpy.Sphere2f, and mrmeshpy.Sphere2f.
| float mrmeshpy.ConstSphere2f.distance | ( | self, | |
| ConstVector2f | x ) |
returns signed distance from given point to this sphere: positive - outside, zero - on sphere, negative - inside
| float mrmeshpy.ConstSphere2f.distanceSq | ( | self, | |
| ConstVector2f | x ) |
returns squared distance from given point to this sphere
| Vector2f mrmeshpy.ConstSphere2f.project | ( | self, | |
| ConstVector2f | x ) |
finds the closest point on sphere
| float mrmeshpy.ConstSphere2f.radius | ( | self | ) |
|
staticprotected |
|
staticprotected |