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

Public Member Functions

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

Static Public Member Functions

None __init__ (*args, **kwargs)
None __init__ (*args, **kwargs)
Static Public Member Functions inherited from mrmeshpy.ConstBox3d
Box3d fromMinAndSize (ConstVector3d min, ConstVector3d size)
Vector3b getMaxBoxCorner (ConstVector3d n)
Vector3b getMinBoxCorner (ConstVector3d n)

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstBox3d
typing elements = 3
Static Protected Attributes inherited from mrmeshpy.ConstBox3d
typing _offsetof_max = 24
typing _offsetof_min = 0

Detailed Description

Generated from:  MR::Box3d

Box given by its min- and max- corners

Constructor & Destructor Documentation

◆ __init__() [1/5]

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

◆ __init__() [3/5]

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

◆ __init__() [4/5]

None mrmeshpy.Box3d.__init__ ( self,
ConstVector3d min,
ConstVector3d max )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __getitem__() [1/2]

ConstVector3d mrmeshpy.Box3d.__getitem__ ( ConstBox3d self,
int e )
min/max access by 0/1 index

◆ __getitem__() [2/2]

Vector3d mrmeshpy.Box3d.__getitem__ ( self,
int e )

◆ __rrshift__()

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

◆ __setitem__()

None mrmeshpy.Box3d.__setitem__ ( self,
int arg0,
ConstVector3d arg1 )

◆ assign()

Box3d mrmeshpy.Box3d.assign ( self,
ConstBox3d other )

◆ include() [1/2]

None mrmeshpy.Box3d.include ( self,
ConstBox3d b )
minimally increases the box to include another box

◆ include() [2/2]

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

◆ intersect()

Box3d mrmeshpy.Box3d.intersect ( self,
ConstBox3d b )

◆ max() [1/2]

Vector3d mrmeshpy.Box3d.max ( self)

Reimplemented from mrmeshpy.ConstBox3d.

◆ max() [2/2]

None mrmeshpy.Box3d.max ( self,
ConstVector3d arg1 )

Reimplemented from mrmeshpy.ConstBox3d.

◆ min() [1/2]

Vector3d mrmeshpy.Box3d.min ( self)

Reimplemented from mrmeshpy.ConstBox3d.

◆ min() [2/2]

None mrmeshpy.Box3d.min ( self,
ConstVector3d arg1 )

Reimplemented from mrmeshpy.ConstBox3d.


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