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

Public Member Functions

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

Static Public Member Functions

None __init__ (*args, **kwargs)
None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstBox3i
Box3i fromMinAndSize (ConstVector3i min, ConstVector3i size)
Vector3b getMaxBoxCorner (ConstVector3i n)
Vector3b getMinBoxCorner (ConstVector3i n)

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstBox3i
typing elements = 3
Static Protected Attributes inherited from mrmeshpy.ConstBox3i
typing _offsetof_max = 12
typing _offsetof_min = 0

Detailed Description

Generated from:  MR::Box3i

Box given by its min- and max- corners

Constructor & Destructor Documentation

◆ __init__() [1/5]

None mrmeshpy.Box3i.__init__ ( * args,
** kwargs )
static
If the compiler supports `requires`, use that instead of `std::enable_if` here.
Not (only) because it looks cooler, but because of a bug in our binding generator that makes it choke on it: https://github.com/MeshInspector/mrbind/issues/19

◆ __init__() [2/5]

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

◆ __init__() [3/5]

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

◆ __init__() [4/5]

None mrmeshpy.Box3i.__init__ ( self,
ConstVector3i min,
ConstVector3i max )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __getitem__() [1/2]

ConstVector3i mrmeshpy.Box3i.__getitem__ ( ConstBox3i self,
int e )
min/max access by 0/1 index

◆ __getitem__() [2/2]

Vector3i mrmeshpy.Box3i.__getitem__ ( self,
int e )

◆ __rrshift__()

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

◆ __setitem__()

None mrmeshpy.Box3i.__setitem__ ( self,
int arg0,
ConstVector3i arg1 )

◆ assign()

Box3i mrmeshpy.Box3i.assign ( self,
ConstBox3i other )

◆ include() [1/2]

None mrmeshpy.Box3i.include ( self,
ConstBox3i b )
minimally increases the box to include another box

◆ include() [2/2]

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

◆ intersect()

Box3i mrmeshpy.Box3i.intersect ( self,
ConstBox3i b )

◆ max() [1/2]

Vector3i mrmeshpy.Box3i.max ( self)

Reimplemented from mrmeshpy.ConstBox3i.

◆ max() [2/2]

None mrmeshpy.Box3i.max ( self,
ConstVector3i arg1 )

Reimplemented from mrmeshpy.ConstBox3i.

◆ min() [1/2]

Vector3i mrmeshpy.Box3i.min ( self)

Reimplemented from mrmeshpy.ConstBox3i.

◆ min() [2/2]

None mrmeshpy.Box3i.min ( self,
ConstVector3i arg1 )

Reimplemented from mrmeshpy.ConstBox3i.


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