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

Public Member Functions

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

Additional Inherited Members

Static Public Attributes inherited from mrmeshpy.ConstBox2f
typing elements = 2
Static Protected Attributes inherited from mrmeshpy.ConstBox2f
typing _offsetof_max = 8
typing _offsetof_min = 0

Detailed Description

Generated from:  MR::Box2f
Aliases:  AABBTreeBase_AABBTreeTraits_UndirectedEdgeTag_Box2f.BoxT, AABBTreeNode_AABBTreeTraits_UndirectedEdgeTag_Box2f.BoxT, AABBTreeTraits_UndirectedEdgeTag_Box2f.BoxT

Box given by its min- and max- corners

Constructor & Destructor Documentation

◆ __init__() [1/5]

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

◆ __init__() [3/5]

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

◆ __init__() [4/5]

None mrmeshpy.Box2f.__init__ ( self,
ConstVector2f min,
ConstVector2f max )

◆ __init__() [5/5]

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

Member Function Documentation

◆ __getitem__() [1/2]

ConstVector2f mrmeshpy.Box2f.__getitem__ ( ConstBox2f self,
int e )
min/max access by 0/1 index

◆ __getitem__() [2/2]

Vector2f mrmeshpy.Box2f.__getitem__ ( self,
int e )

◆ __rrshift__()

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

◆ __setitem__()

None mrmeshpy.Box2f.__setitem__ ( self,
int arg0,
ConstVector2f arg1 )

◆ assign()

Box2f mrmeshpy.Box2f.assign ( self,
ConstBox2f other )

◆ include() [1/2]

None mrmeshpy.Box2f.include ( self,
ConstBox2f b )
minimally increases the box to include another box

◆ include() [2/2]

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

◆ intersect()

Box2f mrmeshpy.Box2f.intersect ( self,
ConstBox2f b )

◆ max() [1/2]

Vector2f mrmeshpy.Box2f.max ( self)

Reimplemented from mrmeshpy.ConstBox2f.

◆ max() [2/2]

None mrmeshpy.Box2f.max ( self,
ConstVector2f arg1 )

Reimplemented from mrmeshpy.ConstBox2f.

◆ min() [1/2]

Vector2f mrmeshpy.Box2f.min ( self)

Reimplemented from mrmeshpy.ConstBox2f.

◆ min() [2/2]

None mrmeshpy.Box2f.min ( self,
ConstVector2f arg1 )

Reimplemented from mrmeshpy.ConstBox2f.


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