GeometryGym.Ifc.IfcLagTime.getSecondsDuration C# (CSharp) Method

getSecondsDuration() private method

private getSecondsDuration ( ) : double
return 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("'", "");
		}