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

Public Member Functions

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

Static Public Attributes

typing elements = 2

Static Protected Attributes

typing _offsetof_center = 0
typing _offsetof_radiusSq = 8

Detailed Description

Generated from:  MR::Ball2f

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

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

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

Implicit aggregate constructor.

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

Member Function Documentation

◆ center()

ConstVector2f mrmeshpy.ConstBall2f.center ( self)
ball's center

Reimplemented in mrmeshpy.Ball2f, and mrmeshpy.Ball2f.

◆ inside()

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

◆ outside()

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

◆ radiusSq()

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

Reimplemented in mrmeshpy.Ball2f, and mrmeshpy.Ball2f.

Member Data Documentation

◆ _offsetof_center

typing mrmeshpy.ConstBall2f._offsetof_center = 0
staticprotected

◆ _offsetof_radiusSq

typing mrmeshpy.ConstBall2f._offsetof_radiusSq = 8
staticprotected

◆ elements

typing mrmeshpy.ConstBall2f.elements = 2
static

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