public void snCurveSegment(byte segmentId, SnCurveSegment segment) { msclPINVOKE.FatigueOptions_snCurveSegment__SWIG_1(swigCPtr, segmentId, SnCurveSegment.getCPtr(segment)); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } }
public SnCurveSegment snCurveSegment(byte segmentId) { SnCurveSegment ret = new SnCurveSegment(msclPINVOKE.FatigueOptions_snCurveSegment__SWIG_0(swigCPtr, segmentId), false); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SnCurveSegment obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }