MeshLib Python Docs
Loading...
Searching...
No Matches

Public Member Functions

None __init__ (self)
None __init__ (self, HexPalette arg0)
None __init__ (self)

Static Public Member Functions

None __init__ (*args, **kwargs)
Color colorAtStep (int i)
HexPalette operator (*args, **kwargs)
HexPalette operator (*args, **kwargs)

Static Public Attributes

typing CORNER_COLORS = 6
typing N = 30
typing SIDE_COLORS = 5
typing STEP = 17
typing colors .ClassVar[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__() [1/4]

None mrmeshpy.HexPalette.__init__ ( * args,
** kwargs )
static

◆ __init__() [2/4]

None mrmeshpy.HexPalette.__init__ ( self)

◆ __init__() [3/4]

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

◆ __init__() [4/4]

None mrmeshpy.HexPalette.__init__ ( self)
Implicit aggregate constructor.

Member Function Documentation

◆ colorAtStep()

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

◆ operator() [1/2]

HexPalette mrmeshpy.HexPalette.operator ( * args,
** kwargs )
static

◆ operator() [2/2]

HexPalette mrmeshpy.HexPalette.operator ( * args,
** kwargs )
static

Member Data Documentation

◆ colors

typing mrmeshpy.HexPalette.colors .ClassVar[std_array_Color_30]
static

◆ CORNER_COLORS

typing mrmeshpy.HexPalette.CORNER_COLORS = 6
static

◆ N

typing mrmeshpy.HexPalette.N = 30
static

◆ SIDE_COLORS

typing mrmeshpy.HexPalette.SIDE_COLORS = 5
static

◆ STEP

typing mrmeshpy.HexPalette.STEP = 17
static

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