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

Public Member Functions

 __init__ (self, *args, **kwargs)

Static Public Member Functions

Color colorAtStep (int i)

Static Public Attributes

typing CORNER_COLORS = 6
typing N = 30
typing SIDE_COLORS = 5
typing STEP = 17
typing colors .ClassVar[Const_std_array_Color_30]

Detailed Description

Generated from:  MR::HexPalette

all colors here are on cube's boundary intersected by a skew plane, which makes a hexagon;
gives visually distinct categorical colors for things like mesh segments or imported components

Constructor & Destructor Documentation

◆ __init__()

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

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

2. __init__(self: meshlib.mrmeshpy.ConstHexPalette, arg0: meshlib.mrmeshpy.ConstHexPalette) -> None

Implicit copy constructor.

3. __init__(self: meshlib.mrmeshpy.ConstHexPalette) -> None

Implicit aggregate constructor.

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

Member Function Documentation

◆ colorAtStep()

Color mrmeshpy.ConstHexPalette.colorAtStep ( int i)
static
returns the i-th color in stride order, so successive i values give visually distinct colors

Member Data Documentation

◆ colors

typing mrmeshpy.ConstHexPalette.colors .ClassVar[Const_std_array_Color_30]
static

◆ CORNER_COLORS

typing mrmeshpy.ConstHexPalette.CORNER_COLORS = 6
static

◆ N

typing mrmeshpy.ConstHexPalette.N = 30
static

◆ SIDE_COLORS

typing mrmeshpy.ConstHexPalette.SIDE_COLORS = 5
static

◆ STEP

typing mrmeshpy.ConstHexPalette.STEP = 17
static

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