public IfcLinearPlacement(IfcCurve __PlacementRelTo, IfcDistanceExpression __Distance, IfcOrientationExpression __Orientation, IfcAxis2Placement3D __CartesianPosition) { this.PlacementRelTo = __PlacementRelTo; this.Distance = __Distance; this.Orientation = __Orientation; this.CartesianPosition = __CartesianPosition; }
public static IfcLinearPlacement MakeLinearPlacementWithoutPoint(IfcStore m, IfcCurve constructAlign, IfcDistanceExpression dist, IfcOrientationExpression orientation = null) { return(m.Instances.New <IfcLinearPlacement>(l => { l.PlacementRelTo = constructAlign; l.Distance = dist; if (null != l.Orientation) { l.Orientation = orientation; } l.CartesianPosition = ToAx3DWithoutLoc(m, l); })); }
public static IfcLinearPlacement MakeLinearPlacement_LateralConnectPlate(IfcStore m, IfcCurve constructAlign, IfcDistanceExpression dist, IfcOrientationExpression orientation = null) { return(m.Instances.New <IfcLinearPlacement>(l => { l.PlacementRelTo = constructAlign; l.Distance = dist; if (null != l.Orientation) { l.Orientation = orientation; } l.CartesianPosition = ToAixs3D_LateralConnectPlate(m, l); })); }
public override void Parse(int propIndex, IPropertyValue value, int[] nestedIndex) { switch (propIndex) { case 0: _placementRelTo = (IfcCurve)(value.EntityVal); return; case 1: _distance = (IfcDistanceExpression)(value.EntityVal); return; case 2: _orientation = (IfcOrientationExpression)(value.EntityVal); return; case 3: _cartesianPosition = (IfcAxis2Placement3D)(value.EntityVal); return; default: throw new XbimParserException(string.Format("Attribute index {0} is out of range for {1}", propIndex + 1, GetType().Name.ToUpper())); } }