MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstInSphere Class Reference
Inheritance diagram for mrmeshpy.ConstInSphere:

Public Member Functions

 __init__ (self, *args, **kwargs)
ConstVector3f center (self)
ConstMeshProjectionResult oppositeTouchPoint (self)
float radius (self)

Static Protected Attributes

typing _offsetof_center = 0
typing _offsetof_oppositeTouchPoint = 16
typing _offsetof_radius = 12

Detailed Description

Generated from:  MR::InSphere

found maximal inscribed sphere touching input point with center along given direction

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstInSphere.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstInSphere) -> None

2. __init__(self: meshlib.mrmeshpy.ConstInSphere, arg0: meshlib.mrmeshpy.ConstInSphere) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstInSphere, center: meshlib.mrmeshpy.ConstVector3f, radius: float, oppositeTouchPoint: meshlib.mrmeshpy.ConstMeshProjectionResult) -> None

Implicit aggregate constructor.

4. __init__(self: meshlib.mrmeshpy.ConstInSphere, : meshlib.mrmeshpy.ConstInSphere) -> None

Member Function Documentation

◆ center()

ConstVector3f mrmeshpy.ConstInSphere.center ( self)

Reimplemented in mrmeshpy.InSphere, and mrmeshpy.InSphere.

◆ oppositeTouchPoint()

ConstMeshProjectionResult mrmeshpy.ConstInSphere.oppositeTouchPoint ( self)
excluding input point and incident triangles, distSq - squared distance to sphere's center

Reimplemented in mrmeshpy.InSphere, and mrmeshpy.InSphere.

◆ radius()

float mrmeshpy.ConstInSphere.radius ( self)

Member Data Documentation

◆ _offsetof_center

typing mrmeshpy.ConstInSphere._offsetof_center = 0
staticprotected

◆ _offsetof_oppositeTouchPoint

typing mrmeshpy.ConstInSphere._offsetof_oppositeTouchPoint = 16
staticprotected

◆ _offsetof_radius

typing mrmeshpy.ConstInSphere._offsetof_radius = 12
staticprotected

The documentation for this class was generated from the following file: