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