class documentation

class Constraint:

View In Hierarchy

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, comparison_type, _min, _max, permeability):
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):
Evaluate this constraint at some point.
Parameters
point:Union[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