MGIS
Loading...
Searching...
No Matches
OutOfBoundsPolicy.hxx File Reference

Enumerations

enum  mgis_mp_OutOfBoundsPolicy { MGIS_MATERIALPROPERTY_NONE_POLICY , MGIS_MATERIALPROPERTY_WARNING_POLICY , MGIS_MATERIALPROPERTY_STRICT_POLICY }
 available out of bounds policies More...
 

Detailed Description

Author
Thomas Helfer
Date
04/10/2022

Enumeration Type Documentation

◆ mgis_mp_OutOfBoundsPolicy

available out of bounds policies

Enumerator
MGIS_MATERIALPROPERTY_NONE_POLICY 

With this policy, nothing is done if the arguments are out of their bounds (checks are not even performed).

MGIS_MATERIALPROPERTY_WARNING_POLICY 

With this policy, checks on the arguments are performed. If one argument if out of its bounds, this will be reported in the output status and an appropriate error message will be reported. The computations are however performed.

MGIS_MATERIALPROPERTY_STRICT_POLICY 

With this policy, checks on the arguments are performed. If one argument if out of its bounds, this will be reported in the output status and an appropriate error message will be reported.