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