MeshLib Python Docs
Loading...
Searching...
No Matches
Inheritance diagram for mrmeshpy.ConstBall3d:

Public Member Functions

 __init__ (self, *args, **kwargs)
bool inside (self, ConstVector3d pt)
bool outside (self, ConstVector3d pt)
ConstVector3d center (self)
float radiusSq (self)

Static Public Attributes

typing elements = 3

Static Protected Attributes

typing _offsetof_center = 0
typing _offsetof_radiusSq = 24

Detailed Description

Generated from:  MR::Ball3d

a ball = points surrounded by a sphere in arbitrary space with vector type V

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstBall3d, center: meshlib.mrmeshpy.ConstVector3d, radiusSq: float) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ center()

ConstVector3d mrmeshpy.ConstBall3d.center ( self)
ball's center

Reimplemented in mrmeshpy.Ball3d, and mrmeshpy.Ball3d.

◆ inside()

bool mrmeshpy.ConstBall3d.inside ( self,
ConstVector3d pt )
returns true if given point is strictly inside the ball (not on its spherical surface)

◆ outside()

bool mrmeshpy.ConstBall3d.outside ( self,
ConstVector3d pt )
returns true if given point is strictly outside the ball (not on its spherical surface)

◆ radiusSq()

float mrmeshpy.ConstBall3d.radiusSq ( self)
ball's squared radius

Reimplemented in mrmeshpy.Ball3d, and mrmeshpy.Ball3d.

Member Data Documentation

◆ _offsetof_center

typing mrmeshpy.ConstBall3d._offsetof_center = 0
staticprotected

◆ _offsetof_radiusSq

typing mrmeshpy.ConstBall3d._offsetof_radiusSq = 24
staticprotected

◆ elements

typing mrmeshpy.ConstBall3d.elements = 3
static

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