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

Public Member Functions

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

Static Public Member Functions

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

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

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

◆ __init__() [2/3]

None mrmeshpy.Ball2f.__init__ ( self)

◆ __init__() [3/3]

None mrmeshpy.Ball2f.__init__ ( self,
Vector2f center,
float radiusSq )
Implicit aggregate constructor.

Member Function Documentation

◆ center() [1/2]

Vector2f mrmeshpy.Ball2f.center ( self)
ball's center

◆ center() [2/2]

None mrmeshpy.Ball2f.center ( self,
Vector2f arg1 )

◆ inside()

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

◆ operator() [1/2]

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

◆ operator() [2/2]

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

◆ outside()

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

◆ radiusSq() [1/2]

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

◆ radiusSq() [2/2]

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

Member Data Documentation

◆ _offsetof_center

typing mrmeshpy.Ball2f._offsetof_center = 0
staticprotected

◆ _offsetof_radiusSq

typing mrmeshpy.Ball2f._offsetof_radiusSq = 8
staticprotected

◆ elements

typing mrmeshpy.Ball2f.elements = 2
static

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