Class IfcUnitAssignment
Inheritance
System.Object
IfcUnitAssignment
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Xbim.Ifc2x3.dll
Syntax
[ExpressType("IfcUnitAssignment", 245)]
public class IfcUnitAssignment : PersistEntity, INotifyPropertyChanged, IIfcUnitAssignment, IInstantiableEntity, IIfcUnitAssignment, IContainsEntityReferences, IPersistEntity, IPersist, IEquatable<IfcUnitAssignment>, IExpressValidatable
Properties
|
Improve this Doc
View Source
AreaUnit
Declaration
public IfcNamedUnit AreaUnit { get; }
Property Value
|
Improve this Doc
View Source
LengthUnit
Declaration
public IfcNamedUnit LengthUnit { get; }
Property Value
|
Improve this Doc
View Source
LengthUnitName
Declaration
public string LengthUnitName { get; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
LengthUnitPower
Returns the factor to scale units by to convert them to SI millimetres, if they are SI units, returns 1 otherwise
Declaration
public double LengthUnitPower { get; }
Property Value
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
Units
Declaration
[EntityAttribute(1, EntityAttributeState.Mandatory, EntityAttributeType.Set, EntityAttributeType.Class, new int[]{1}, new int[]{-1}, 1)]
public IItemSet<IfcUnit> Units { get; }
Property Value
|
Improve this Doc
View Source
VolumeUnit
Declaration
public IfcNamedUnit VolumeUnit { get; }
Property Value
Methods
|
Improve this Doc
View Source
Equals(IfcUnitAssignment)
Declaration
public bool Equals(IfcUnitAssignment other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetUnitFor(IfcPropertySingleValue)
Declaration
public IfcNamedUnit GetUnitFor(IfcPropertySingleValue property)
Parameters
Returns
|
Improve this Doc
View Source
GetUnitFor(IfcPhysicalSimpleQuantity)
Declaration
public IfcNamedUnit GetUnitFor(IfcPhysicalSimpleQuantity quantity)
Parameters
Returns
|
Improve this Doc
View Source
Parse(Int32, IPropertyValue, Int32[])
Declaration
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
propIndex |
|
IPropertyValue |
value |
|
System.Int32[] |
nestedIndex |
|
Overrides
|
Improve this Doc
View Source
Power(IfcUnitEnum)
Declaration
public double Power(IfcUnitEnum unitType)
Parameters
Returns
Type |
Description |
System.Double |
|
|
Improve this Doc
View Source
SetOrChangeConversionUnit(IfcUnitEnum, ConversionBasedUnit)
Declaration
public void SetOrChangeConversionUnit(IfcUnitEnum unitType, ConversionBasedUnit unit)
Parameters
|
Improve this Doc
View Source
SetOrChangeSiUnit(IfcUnitEnum, IfcSIUnitName, Nullable<IfcSIPrefix>)
Declaration
public void SetOrChangeSiUnit(IfcUnitEnum unitType, IfcSIUnitName siUnitName, IfcSIPrefix? siUnitPrefix)
Parameters
|
Improve this Doc
View Source
SetSiLengthUnits(IfcSIUnitName, Nullable<IfcSIPrefix>)
Sets the Length Unit to be SIUnit and SIPrefix, returns false if the units are not SI
Declaration
public bool SetSiLengthUnits(IfcSIUnitName siUnitName, IfcSIPrefix? siPrefix)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Validate()
Declaration
public virtual IEnumerable<ValidationResult> Validate()
Returns
|
Improve this Doc
View Source
ValidateClause(IfcUnitAssignment.IfcUnitAssignmentClause)
Tests the express where-clause specified in param 'clause'
Declaration
public bool ValidateClause(IfcUnitAssignment.IfcUnitAssignmentClause clause)
Parameters
Returns
Type |
Description |
System.Boolean |
true if the clause is satisfied.
|
Explicit Interface Implementations
|
Improve this Doc
View Source
IContainsEntityReferences.References
Declaration
IEnumerable<IPersistEntity> IContainsEntityReferences.References { get; }
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<IPersistEntity> |
|
|
Improve this Doc
View Source
IIfcUnitAssignment.Units
Declaration
IItemSet<IIfcUnit> IIfcUnitAssignment.Units { get; }
Returns
|
Improve this Doc
View Source
IIfcUnitAssignment.Units
Declaration
[CrossSchemaAttribute(typeof(IIfcUnitAssignment), 1)]
IItemSet<IIfcUnit> IIfcUnitAssignment.Units { get; }
Returns
Implements
System.ComponentModel.INotifyPropertyChanged
System.IEquatable<T>