GeometryGym.Ifc.IfcLagTime.getSecondsDuration C# (CSharp) 메소드

getSecondsDuration() 개인적인 메소드

private getSecondsDuration ( ) : double
리턴 double
        internal double getSecondsDuration()
        {
            IfcDuration d = mLagValue as IfcDuration; return (d == null ? 0 : d.ToSeconds());
        }

Usage Example

예제 #1
0
파일: IFC R.cs 프로젝트: jenca-cloud/ggIFC
		internal IfcRelSequence(IfcProcess rg, IfcProcess rd, IfcLagTime lag, IfcSequenceEnum st, string userSeqType) : base(rg.mDatabase)
		{
			mRelatingProcess = rg.mIndex;
			mRelatedProcess = rd.mIndex;
			if (lag != null)
				mTimeLag = (mDatabase.mSchema == Schema.IFC2x3 ? (int)lag.getSecondsDuration() : lag.mIndex);
			mSequenceType = st;
			if (!string.IsNullOrEmpty(userSeqType))
				mUserDefinedSequenceType = userSeqType.Replace("'", "");
		}