MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.Ball2d Class Reference

Public Member Functions

None __init__ (self)
 
None __init__ (self, Vector2d center, float radiusSq)
 
bool inside (self, Vector2d pt)
 
bool outside (self, Vector2d pt)
 
Vector2d center (self)
 
None center (self, Vector2d arg1)
 
float radiusSq (self)
 
None radiusSq (self, float arg1)
 

Static Public Member Functions

None __init__ (*args, **kwargs)
 
Ball2d operator (*args, **kwargs)
 
Ball2d operator (*args, **kwargs)
 

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__() [1/3]

None mrmeshpy.Ball2d.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/3]

None mrmeshpy.Ball2d.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.Ball2d.__init__ ( self,
Vector2d center,
float radiusSq )
Implicit aggregate constructor.

Member Function Documentation

◆ center() [1/2]

Vector2d mrmeshpy.Ball2d.center ( self)
ball's center

◆ center() [2/2]

None mrmeshpy.Ball2d.center ( self,
Vector2d arg1 )

◆ inside()

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

◆ operator() [1/2]

Ball2d mrmeshpy.Ball2d.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

Ball2d mrmeshpy.Ball2d.operator ( * args,
** kwargs )
static

◆ outside()

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

◆ radiusSq() [1/2]

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

◆ radiusSq() [2/2]

None mrmeshpy.Ball2d.radiusSq ( self,
float arg1 )

Member Data Documentation

◆ _offsetof_center

typing mrmeshpy.Ball2d._offsetof_center = 0
staticprotected

◆ _offsetof_radiusSq

typing mrmeshpy.Ball2d._offsetof_radiusSq = 16
staticprotected

◆ elements

typing mrmeshpy.Ball2d.elements = 2
static

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