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

Public Member Functions

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

Additional Inherited Members

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

Detailed Description

Generated from:  MR::Box3f
Aliases:  AABBTreeBase_AABBTreeTraits_UndirectedEdgeTag_Box3f.BoxT, AABBTreeBase_ObjTreeTraits.BoxT, AABBTreeNode_AABBTreeTraits_UndirectedEdgeTag_Box3f.BoxT, AABBTreeNode_ObjTreeTraits.BoxT, AABBTreeTraits_UndirectedEdgeTag_Box3f.BoxT, ObjTreeTraits.BoxT, Vector_Box3f.const_pointer, Vector_Box3f.const_reference, Vector_Box3f.pointer, Vector_Box3f.reference, Vector_Box3f.value_type

Box given by its min- and max- corners

Constructor & Destructor Documentation

◆ __init__() [1/5]

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

◆ __init__() [3/5]

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

◆ __init__() [4/5]

None mrmeshpy.Box3f.__init__ ( self,
ConstVector3f min,
ConstVector3f max )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __getitem__() [1/2]

ConstVector3f mrmeshpy.Box3f.__getitem__ ( ConstBox3f self,
int e )
min/max access by 0/1 index

◆ __getitem__() [2/2]

Vector3f mrmeshpy.Box3f.__getitem__ ( self,
int e )

◆ __rrshift__()

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

◆ __setitem__()

None mrmeshpy.Box3f.__setitem__ ( self,
int arg0,
ConstVector3f arg1 )

◆ assign()

Box3f mrmeshpy.Box3f.assign ( self,
ConstBox3f other )

◆ include() [1/2]

None mrmeshpy.Box3f.include ( self,
ConstBox3f b )
minimally increases the box to include another box

◆ include() [2/2]

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

◆ intersect()

Box3f mrmeshpy.Box3f.intersect ( self,
ConstBox3f b )

◆ max() [1/2]

Vector3f mrmeshpy.Box3f.max ( self)

Reimplemented from mrmeshpy.ConstBox3f.

◆ max() [2/2]

None mrmeshpy.Box3f.max ( self,
ConstVector3f arg1 )

Reimplemented from mrmeshpy.ConstBox3f.

◆ min() [1/2]

Vector3f mrmeshpy.Box3f.min ( self)

Reimplemented from mrmeshpy.ConstBox3f.

◆ min() [2/2]

None mrmeshpy.Box3f.min ( self,
ConstVector3f arg1 )

Reimplemented from mrmeshpy.ConstBox3f.


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