/// /// <summary> * (20) get JDFTransferFunction attribute Curve </summary> /// * <returns> JDFTransferFunction the value of the attribute, null if a the /// * attribute value is not a valid to create a JDFTransferFunction </returns> /// public virtual JDFTransferFunction getCurve() { string strAttrName = ""; JDFTransferFunction nPlaceHolder = null; strAttrName = getAttribute(AttributeName.CURVE, null, JDFConstants.EMPTYSTRING); try { nPlaceHolder = new JDFTransferFunction(strAttrName); } catch (FormatException) { return(null); } return(nPlaceHolder); }
// ************************************************************************ // * Attribute getter / setter // * ************************************************************************ // // --------------------------------------------------------------------- // Methods for Attribute Curve // --------------------------------------------------------------------- /// /// <summary> * (36) set attribute Curve </summary> /// * <param name="value">: the value to set the attribute to </param> /// public virtual void setCurve(JDFTransferFunction @value) { setAttribute(AttributeName.CURVE, @value, null); }