class documentation

Constraint class.

Method __init__ Initializes the constraint.
Method evaluate Evaluate this constraint at some point.
Class Variable Comparison_Types_Supported Undocumented
Class Variable Norm_Types_Supported Supported norm types using minimum and maximum angles in degrees.
Class Variable Norm_Types_Supported_Degrees Supported comparison types.
Instance Variable permeability Undocumented
Instance Variable _comparison_type Undocumented
Instance Variable _max Undocumented
Instance Variable _min Undocumented
Instance Variable _norm_type Undocumented
def __init__(self, norm_type: int, comparison_type: int, _min: float, _max: float, permeability: float):

Initializes the constraint.

Parameters
norm_type:intNorm type
comparison_type:intComparison type
_min:floatMinimum value
_max:floatMaximum value
permeability:floatRelative permeability µ_r
def evaluate(self, point: np.ndarray | list[float]) -> bool:

Evaluate this constraint at some point.

Parameters
point:np.ndarray | list[float]Point (3D vector)
Returns
boolUndocumented
Comparison_Types_Supported =

Undocumented

Norm_Types_Supported =

Supported norm types using minimum and maximum angles in degrees.

Norm_Types_Supported_Degrees =

Supported comparison types.

permeability =

Undocumented

_comparison_type =

Undocumented

_max =

Undocumented

_min =

Undocumented

_norm_type =

Undocumented