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

Public Member Functions

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

Static Public Attributes

typing elements = 2

Static Protected Attributes

typing _offsetof_center = 0
typing _offsetof_radiusSq = 16

Detailed Description

Generated from:  MR::Ball2d

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

Constructor & Destructor Documentation

◆ __init__()

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

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

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

Implicit copy constructor.

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

Implicit aggregate constructor.

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

Member Function Documentation

◆ center()

ConstVector2d mrmeshpy.ConstBall2d.center ( self)
ball's center

Reimplemented in mrmeshpy.Ball2d, and mrmeshpy.Ball2d.

◆ inside()

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

◆ outside()

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

◆ radiusSq()

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

Reimplemented in mrmeshpy.Ball2d, and mrmeshpy.Ball2d.

Member Data Documentation

◆ _offsetof_center

typing mrmeshpy.ConstBall2d._offsetof_center = 0
staticprotected

◆ _offsetof_radiusSq

typing mrmeshpy.ConstBall2d._offsetof_radiusSq = 16
staticprotected

◆ elements

typing mrmeshpy.ConstBall2d.elements = 2
static

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