Пример #1
0
 /// <summary>
 /// Creates an IFCData object as IfcNormalisedRatioMeasure.
 /// </summary>
 /// <param name="value">The double value.</param>
 /// <returns>The IFCData object.</returns>
 public static IFCData CreateAsNormalisedRatioMeasure(double value)
 {
     return(IFCData.CreateDoubleOfType(value, "IfcNormalisedRatioMeasure"));
 }
Пример #2
0
 /// <summary>
 /// Creates an IFCData object as an IfcMeasure of the right type.
 /// </summary>
 /// <param name="value">The double value.</param>
 /// <param name="type">The type of IfcMeasure (e.g. IfcForceMeasure).</param>
 /// <returns>The IFCData object.</returns>
 public static IFCData CreateAsMeasure(double value, string type)
 {
     return(IFCData.CreateDoubleOfType(value, type));
 }
Пример #3
0
 /// <summary>
 /// Creates an IFCData object as IfcReal.
 /// </summary>
 /// <param name="value">The double value.</param>
 /// <returns>The IFCData object.</returns>
 public static IFCData CreateAsReal(double value)
 {
     return(IFCData.CreateDoubleOfType(value, "IfcReal"));
 }
Пример #4
0
 /// <summary>
 /// Creates an IFCData object as IfcAreaMeasure.
 /// </summary>
 /// <param name="value">The double value.</param>
 /// <returns>The IFCData object.</returns>
 public static IFCData CreateAsAreaMeasure(double value)
 {
     return(IFCData.CreateDoubleOfType(value, "IfcAreaMeasure"));
 }
Пример #5
0
 /// <summary>
 /// Creates an IFCData object as IfcPlaneAngleMeasure.
 /// </summary>
 /// <param name="value">The double value.</param>
 /// <returns>The IFCData object.</returns>
 public static IFCData CreateAsPlaneAngleMeasure(double value)
 {
     return(IFCData.CreateDoubleOfType(value, "IfcPlaneAngleMeasure"));
 }
Пример #6
0
 /// <summary>
 /// Creates an IFCData object as IfcPositiveLengthMeasure.
 /// </summary>
 /// <param name="value">The double value.</param>
 /// <returns>The IFCData object.</returns>
 public static IFCData CreateAsPositiveLengthMeasure(double value)
 {
     return(IFCData.CreateDoubleOfType(value, "IfcPositiveLengthMeasure"));
 }
Пример #7
0
 /// <summary>
 /// Creates an IFCData object as IfcSpecularExponent.
 /// </summary>
 /// <param name="value">The double value.</param>
 /// <returns>The IFCData object.</returns>
 public static IFCData CreateAsSpecularExponent(double value)
 {
     return(IFCData.CreateDoubleOfType(value, "IfcSpecularExponent"));
 }