Class IfcDirection
Inheritance
System.Object
IfcDirection
Implements
System.ComponentModel.INotifyPropertyChanged
System.IEquatable<IfcRepresentationItem>
System.IEquatable<IfcGeometricRepresentationItem>
System.IEquatable<IfcDirection>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Xbim.Ifc4.GeometryResource
Assembly: Xbim.Ifc4.dll
Syntax
[ExpressType("IfcDirection", 344)]
public class IfcDirection : IfcGeometricRepresentationItem, INotifyPropertyChanged, IEquatable<IfcRepresentationItem>, IEquatable<IfcGeometricRepresentationItem>, IInstantiableEntity, IIfcDirection, IIfcGeometricRepresentationItem, IIfcRepresentationItem, IfcLayeredItem, IIfcLayeredItem, IfcGridPlacementDirectionSelect, IIfcGridPlacementDirectionSelect, IfcVectorOrDirection, IIfcVectorOrDirection, IExpressSelectType, IPersistEntity, IPersist, IEquatable<IfcDirection>, IExpressValidatable
Properties
| Improve this Doc View SourceDim
Declaration
[EntityAttribute(0, EntityAttributeState.Derived, EntityAttributeType.None, EntityAttributeType.None, null, null, 0)]
public IfcDimensionCount Dim { get; }
Property Value
| Type | Description |
|---|---|
| IfcDimensionCount |
DirectionRatios
Declaration
[EntityAttribute(1, EntityAttributeState.Mandatory, EntityAttributeType.List, EntityAttributeType.None, new int[]{2}, new int[]{3}, 3)]
public IItemSet<IfcReal> DirectionRatios { get; }
Property Value
| Type | Description |
|---|---|
| IItemSet<IfcReal> |
X
Declaration
public double X { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Y
Declaration
public double Y { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Z
Declaration
public double Z { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Double |
Methods
| Improve this Doc View SourceEquals(IfcDirection)
Declaration
public bool Equals(IfcDirection other)
Parameters
| Type | Name | Description |
|---|---|---|
| IfcDirection | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Normalise()
Declaration
public XbimVector3D Normalise()
Returns
| Type | Description |
|---|---|
| XbimVector3D |
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 SourceSetXY(Double, Double)
Declaration
public void SetXY(double x, double y)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | x | |
| System.Double | y |
SetXYZ(Double, Double, Double)
Declaration
public void SetXYZ(double x, double y, double z)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | x | |
| System.Double | y | |
| System.Double | z |
Validate()
Declaration
public virtual IEnumerable<ValidationResult> Validate()
Returns
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<ValidationResult> |
ValidateClause(IfcDirection.IfcDirectionClause)
Tests the express where-clause specified in param 'clause'
Declaration
public bool ValidateClause(IfcDirection.IfcDirectionClause clause)
Parameters
| Type | Name | Description |
|---|---|---|
| IfcDirection.IfcDirectionClause | clause | The express clause to test |
Returns
| Type | Description |
|---|---|
| System.Boolean | true if the clause is satisfied. |
XbimVector3D()
Declaration
public XbimVector3D XbimVector3D()
Returns
| Type | Description |
|---|---|
| XbimVector3D |
Operators
| Improve this Doc View SourceImplicit(XbimVector3D to IfcDirection)
Do not use this conversion operator unless you are absolutely sure you know what you do. Resulting object is not a properpart of the model and will throw an exception if you try to modify it or anything. It is only used in IfcGeometricRepresentationSubContext.TrueNorth where derived attribute is returned in derived overwriting attribute.
Declaration
public static implicit operator IfcDirection(XbimVector3D vector)
Parameters
| Type | Name | Description |
|---|---|---|
| XbimVector3D | vector |
Returns
| Type | Description |
|---|---|
| IfcDirection |
Explicit Interface Implementations
| Improve this Doc View SourceIIfcDirection.DirectionRatios
Declaration
IItemSet<IfcReal> IIfcDirection.DirectionRatios { get; }
Returns
| Type | Description |
|---|---|
| IItemSet<IfcReal> |
Implements
System.ComponentModel.INotifyPropertyChanged
System.IEquatable<T>
System.IEquatable<T>
System.IEquatable<T>