MeshLib Python Docs
Loading...
Searching...
No Matches
mrmeshpy.ConstViewportId Class Reference
Inheritance diagram for mrmeshpy.ConstViewportId:

Public Member Functions

bool __bool__ (self)
bool __eq__ (self, ConstViewportId b)
 __init__ (self, *args, **kwargs)
bool __lt__ (self, ConstViewportId b)
bool __ne__ (self, ConstViewportId b)
ViewportId next (self)
ViewportId prev (self)
bool valid (self)
int value (self)

Detailed Description

Generated from:  MR::ViewportId
Aliases:  ViewportIterator.value_type

stores unique identifier of a viewport, which is power of two;
id=0 has a special meaning of default viewport in some contexts

Constructor & Destructor Documentation

◆ __init__()

mrmeshpy.ConstViewportId.__init__ ( self,
* args,
** kwargs )
__init__(*args, **kwargs)
Overloaded function.

1. __init__(self: meshlib.mrmeshpy.ConstViewportId) -> None

2. __init__(self: meshlib.mrmeshpy.ConstViewportId, i: int) -> None

3. __init__(self: meshlib.mrmeshpy.ConstViewportId, arg0: meshlib.mrmeshpy.ViewportId) -> None

Implicit copy constructor.

4. __init__(self: meshlib.mrmeshpy.ConstViewportId, : meshlib.mrmeshpy.ViewportId) -> None

Member Function Documentation

◆ __bool__()

bool mrmeshpy.ConstViewportId.__bool__ ( self)

◆ __eq__()

bool mrmeshpy.ConstViewportId.__eq__ ( self,
ConstViewportId b )

◆ __lt__()

bool mrmeshpy.ConstViewportId.__lt__ ( self,
ConstViewportId b )

◆ __ne__()

bool mrmeshpy.ConstViewportId.__ne__ ( self,
ConstViewportId b )

◆ next()

ViewportId mrmeshpy.ConstViewportId.next ( self)

◆ prev()

ViewportId mrmeshpy.ConstViewportId.prev ( self)

◆ valid()

bool mrmeshpy.ConstViewportId.valid ( self)

◆ value()

int mrmeshpy.ConstViewportId.value ( self)

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