Open CASCADE Technology 7.8.2.dev
IGESCAFControl Class Reference

Provides high-level API to translate IGES file to and from DECAF document. More...

#include <IGESCAFControl.hxx>

Static Public Member Functions

static Quantity_Color DecodeColor (const Standard_Integer col)
 Provides a tool for writing IGES file Converts IGES color index to CASCADE color.
 
static Standard_Integer EncodeColor (const Quantity_Color &col)
 Tries to Convert CASCADE color to IGES color index If no corresponding color defined in IGES, returns 0.
 

Detailed Description

Provides high-level API to translate IGES file to and from DECAF document.

Member Function Documentation

◆ DecodeColor()

static Quantity_Color IGESCAFControl::DecodeColor ( const Standard_Integer col)
static

Provides a tool for writing IGES file Converts IGES color index to CASCADE color.

◆ EncodeColor()

static Standard_Integer IGESCAFControl::EncodeColor ( const Quantity_Color & col)
static

Tries to Convert CASCADE color to IGES color index If no corresponding color defined in IGES, returns 0.


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