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

Public Member Functions

float __getitem__ (self, int e)
float __getitem__ (ConstBox1f self, int e)
None __init__ (self)
None __init__ (self, float min, float max)
None __init__ (self, Box1f arg0)
typing.Any __rrshift__ (self, typing.Any box)
None __setitem__ (self, int arg0, float arg1)
Box1f assign (self, ConstBox1f other)
None include (self, float pt)
None include (self, ConstBox1f b)
Box1f intersect (self, ConstBox1f b)
Public Member Functions inherited from mrmeshpy.ConstBox1f
bool __eq__ (self, ConstBox1f a)
float __getitem__ (self, int e)
 __init__ (self, *args, **kwargs)
bool __ne__ (self, ConstBox1f a)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any box)
float center (self)
bool contains (self, float pt)
bool contains (self, ConstBox1f otherbox)
float corner (self, bool c)
float diagonal (self)
Box1f expanded (self, float expansion)
float getBoxClosestPointTo (self, float pt)
float getDistanceSq (self, ConstBox1f b)
float getDistanceSq (self, float pt)
float getProjection (self, float pt)
Box1f insignificantlyExpanded (self)
Box1f intersection (self, ConstBox1f b)
bool intersects (self, ConstBox1f b)
float size (self)
bool valid (self)
float volume (self)
float max (self)
float min (self)

Static Public Member Functions

None __init__ (*args, **kwargs)
None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstBox1f
Box1f fromMinAndSize (float min, float size)
bool getMaxBoxCorner (float n)
bool getMinBoxCorner (float n)

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstBox1f
typing elements = 1
Static Protected Attributes inherited from mrmeshpy.ConstBox1f
typing _offsetof_max = 4
typing _offsetof_min = 0

Detailed Description

Generated from:  MR::Box1f
Aliases:  MinMaxf

Box given by its min- and max- corners

Constructor & Destructor Documentation

◆ __init__() [1/5]

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

◆ __init__() [2/5]

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

◆ __init__() [3/5]

None mrmeshpy.Box1f.__init__ ( self)
create invalid box by default

◆ __init__() [4/5]

None mrmeshpy.Box1f.__init__ ( self,
float min,
float max )

◆ __init__() [5/5]

None mrmeshpy.Box1f.__init__ ( self,
Box1f arg0 )
Implicit copy constructor.

Member Function Documentation

◆ __getitem__() [1/2]

float mrmeshpy.Box1f.__getitem__ ( ConstBox1f self,
int e )
min/max access by 0/1 index

◆ __getitem__() [2/2]

float mrmeshpy.Box1f.__getitem__ ( self,
int e )

◆ __rrshift__()

typing.Any mrmeshpy.Box1f.__rrshift__ ( self,
typing.Any box )

◆ __setitem__()

None mrmeshpy.Box1f.__setitem__ ( self,
int arg0,
float arg1 )

◆ assign()

Box1f mrmeshpy.Box1f.assign ( self,
ConstBox1f other )

◆ include() [1/2]

None mrmeshpy.Box1f.include ( self,
ConstBox1f b )
minimally increases the box to include another box

◆ include() [2/2]

None mrmeshpy.Box1f.include ( self,
float pt )
minimally increases the box to include given point

◆ intersect()

Box1f mrmeshpy.Box1f.intersect ( self,
ConstBox1f b )

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