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

Public Member Functions

float __getitem__ (self, int e)
float __getitem__ (ConstBox1d self, int e)
None __init__ (self)
None __init__ (self, float min, float max)
None __init__ (self, Box1d arg0)
typing.Any __rrshift__ (self, typing.Any box)
None __setitem__ (self, int arg0, float arg1)
Box1d assign (self, ConstBox1d other)
None include (self, float pt)
None include (self, ConstBox1d b)
Box1d intersect (self, ConstBox1d b)
Public Member Functions inherited from mrmeshpy.ConstBox1d
bool __eq__ (self, ConstBox1d a)
float __getitem__ (self, int e)
 __init__ (self, *args, **kwargs)
bool __ne__ (self, ConstBox1d a)
str __repr__ (self)
typing.Any __rlshift__ (self, typing.Any box)
float center (self)
bool contains (self, float pt)
bool contains (self, ConstBox1d otherbox)
float corner (self, bool c)
float diagonal (self)
Box1d expanded (self, float expansion)
float getBoxClosestPointTo (self, float pt)
float getDistanceSq (self, ConstBox1d b)
float getDistanceSq (self, float pt)
float getProjection (self, float pt)
Box1d insignificantlyExpanded (self)
Box1d intersection (self, ConstBox1d b)
bool intersects (self, ConstBox1d 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.ConstBox1d
Box1d fromMinAndSize (float min, float size)
bool getMaxBoxCorner (float n)
bool getMinBoxCorner (float n)

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstBox1d
typing elements = 1
Static Protected Attributes inherited from mrmeshpy.ConstBox1d
typing _offsetof_max = 8
typing _offsetof_min = 0

Detailed Description

Generated from:  MR::Box1d
Aliases:  MinMaxd

Box given by its min- and max- corners

Constructor & Destructor Documentation

◆ __init__() [1/5]

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

◆ __init__() [2/5]

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

◆ __init__() [3/5]

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

◆ __init__() [4/5]

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

◆ __init__() [5/5]

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

Member Function Documentation

◆ __getitem__() [1/2]

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

◆ __getitem__() [2/2]

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

◆ __rrshift__()

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

◆ __setitem__()

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

◆ assign()

Box1d mrmeshpy.Box1d.assign ( self,
ConstBox1d other )

◆ include() [1/2]

None mrmeshpy.Box1d.include ( self,
ConstBox1d b )
minimally increases the box to include another box

◆ include() [2/2]

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

◆ intersect()

Box1d mrmeshpy.Box1d.intersect ( self,
ConstBox1d b )

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