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

Public Member Functions

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

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstBox2i64
typing elements = 2
Static Protected Attributes inherited from mrmeshpy.ConstBox2i64
typing _offsetof_max = 16
typing _offsetof_min = 0

Detailed Description

Generated from:  MR::Box2i64

Box given by its min- and max- corners

Constructor & Destructor Documentation

◆ __init__() [1/5]

None mrmeshpy.Box2i64.__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.Box2i64.__init__ ( * args,
** kwargs )
static

◆ __init__() [3/5]

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

◆ __init__() [4/5]

None mrmeshpy.Box2i64.__init__ ( self,
ConstVector2i64 min,
ConstVector2i64 max )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __getitem__() [1/2]

ConstVector2i64 mrmeshpy.Box2i64.__getitem__ ( ConstBox2i64 self,
int e )
min/max access by 0/1 index

◆ __getitem__() [2/2]

Vector2i64 mrmeshpy.Box2i64.__getitem__ ( self,
int e )

◆ __rrshift__()

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

◆ __setitem__()

None mrmeshpy.Box2i64.__setitem__ ( self,
int arg0,
ConstVector2i64 arg1 )

◆ assign()

Box2i64 mrmeshpy.Box2i64.assign ( self,
ConstBox2i64 other )

◆ include() [1/2]

None mrmeshpy.Box2i64.include ( self,
ConstBox2i64 b )
minimally increases the box to include another box

◆ include() [2/2]

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

◆ intersect()

Box2i64 mrmeshpy.Box2i64.intersect ( self,
ConstBox2i64 b )

◆ max() [1/2]

Vector2i64 mrmeshpy.Box2i64.max ( self)

Reimplemented from mrmeshpy.ConstBox2i64.

◆ max() [2/2]

None mrmeshpy.Box2i64.max ( self,
ConstVector2i64 arg1 )

Reimplemented from mrmeshpy.ConstBox2i64.

◆ min() [1/2]

Vector2i64 mrmeshpy.Box2i64.min ( self)

Reimplemented from mrmeshpy.ConstBox2i64.

◆ min() [2/2]

None mrmeshpy.Box2i64.min ( self,
ConstVector2i64 arg1 )

Reimplemented from mrmeshpy.ConstBox2i64.


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