public override com.epl.geometry.Operator GetOperator(com.epl.geometry.Operator.Type type) { if (st_supportedOperators.ContainsKey(type)) { return(st_supportedOperators[type]); } else { throw new System.ArgumentException(); } }
/// <summary>Returns an operator of the given type.</summary> /// <remarks>Returns an operator of the given type. Throws an exception if the operator is not supported.</remarks> public abstract com.epl.geometry.Operator GetOperator(com.epl.geometry.Operator.Type type);
/// <summary>Returns True if the given operator exists.</summary> /// <remarks>Returns True if the given operator exists. The type is one of the Operator::Type values or a user defined value.</remarks> public abstract bool IsOperatorSupported(com.epl.geometry.Operator.Type type);
public override bool IsOperatorSupported(com.epl.geometry.Operator.Type type) { return(st_supportedOperators.ContainsKey(type)); }