public IfcGeometricRepresentationContext AddGeometricContext() { //Ex: #38= IFCGEOMETRICREPRESENTATIONCONTEXT($,'Model',3,0.000010,#36,#37); var dimCount = new IfcDimensionCount(3); var location = new IfcCartesianPoint(new List <IfcLengthMeasure> { 0, 0, 0 }); var up = new IfcDirection(new List <IfcReal> { 0, 0, 1 }); var x = new IfcDirection(new List <IfcReal> { 1, 0, 0 }); this.AddEntity(location); this.AddEntity(up); this.AddEntity(x); var place3d = new IfcAxis2Placement3D(location, up, x); var worldCs = new IfcAxis2Placement(place3d); var north = new IfcDirection(new List <IfcReal> { 0, 1, 0 }); // this.AddEntity(worldCs); this.AddEntity(place3d); this.AddEntity(north); var geo = new IfcGeometricRepresentationContext(null, new IfcLabel("Model"), new IfcDimensionCount(3), 0.000010, worldCs, north); this.AddEntity(geo); return(geo); }
public IfcBoundingBox(IfcCartesianPoint corner, IfcPositiveLengthMeasure xDim, IfcPositiveLengthMeasure yDim, IfcPositiveLengthMeasure zDim) : base() { Corner = corner; XDim = xDim; YDim = yDim; ZDim = zDim; }
public IfcCartesianTransformationOperator(IfcDirection axis1, IfcDirection axis2, IfcCartesianPoint localOrigin, IfcReal scale) : base() { Axis1 = axis1; Axis2 = axis2; LocalOrigin = localOrigin; Scale = scale; }
public IfcLightSourcePositional(IfcLabel name, IfcColourRgb lightColour, IfcNormalisedRatioMeasure ambientIntensity, IfcNormalisedRatioMeasure intensity, IfcCartesianPoint position, IfcPositiveLengthMeasure radius, IfcReal constantAttenuation, IfcReal distanceAttenuation, IfcReal quadricAttenuation) : base(name, lightColour, ambientIntensity, intensity) { Position = position; Radius = radius; ConstantAttenuation = constantAttenuation; DistanceAttenuation = distanceAttenuation; QuadricAttenuation = quadricAttenuation; }
/// <summary> /// Construct a IfcLightSourcePositional with all required attributes. /// </summary> public IfcLightSourcePositional(IfcColourRgb lightColour, IfcCartesianPoint position, IfcPositiveLengthMeasure radius, IfcReal constantAttenuation, IfcReal distanceAttenuation, IfcReal quadricAttenuation) : base(lightColour) { Position = position; Radius = radius; ConstantAttenuation = constantAttenuation; DistanceAttenuation = distanceAttenuation; QuadricAttenuation = quadricAttenuation; }
public IfcFillAreaStyleHatching(IfcCurveStyle hatchLineAppearance, IfcHatchLineDistanceSelect startOfNextHatchLine, IfcCartesianPoint pointOfReferenceHatchLine, IfcCartesianPoint patternStart, IfcPlaneAngleMeasure hatchLineAngle) : base() { HatchLineAppearance = hatchLineAppearance; StartOfNextHatchLine = startOfNextHatchLine; PointOfReferenceHatchLine = pointOfReferenceHatchLine; PatternStart = patternStart; HatchLineAngle = hatchLineAngle; }
public IfcTrimmingSelect(IfcCartesianPoint choice) { this.choice = choice; }
public IfcAxis2Placement2D(IfcCartesianPoint location, IfcDirection refDirection) : base(location) { RefDirection = refDirection; }
/// <summary> /// Construct a IfcLightSourceSpot with all required attributes. /// </summary> public IfcLightSourceSpot(IfcColourRgb lightColour, IfcCartesianPoint position, IfcPositiveLengthMeasure radius, IfcReal constantAttenuation, IfcReal distanceAttenuation, IfcReal quadricAttenuation, IfcDirection orientation, IfcPositivePlaneAngleMeasure spreadAngle, IfcPositivePlaneAngleMeasure beamWidthAngle) : base(lightColour, position, radius, constantAttenuation, distanceAttenuation, quadricAttenuation) { Orientation = orientation; SpreadAngle = spreadAngle; BeamWidthAngle = beamWidthAngle; }
public IfcPlacement(IfcCartesianPoint location) : base() { Location = location; }
public IfcAxis2Placement3D(IfcCartesianPoint location, IfcDirection axis, IfcDirection refDirection) : base(location) { Axis = axis; RefDirection = refDirection; }
} // derived /// <summary> /// Construct a IfcCartesianTransformationOperator with all required attributes. /// </summary> public IfcCartesianTransformationOperator(IfcCartesianPoint localOrigin) : base() { LocalOrigin = localOrigin; }
public IfcLine(IfcCartesianPoint pnt, IfcVector dir) : base() { Pnt = pnt; Dir = dir; }
public IfcAxis1Placement(IfcCartesianPoint location, IfcDirection axis) : base(location) { Axis = axis; }
} // derived /// <summary> /// Construct a IfcCartesianTransformationOperator2DnonUniform with all required attributes. /// </summary> public IfcCartesianTransformationOperator2DnonUniform(IfcCartesianPoint localOrigin) : base(localOrigin) { }
public IfcCartesianTransformationOperator3D(IfcDirection axis1, IfcDirection axis2, IfcCartesianPoint localOrigin, IfcReal scale, IfcDirection axis3) : base(axis1, axis2, localOrigin, scale) { Axis3 = axis3; }
public IfcCartesianTransformationOperator2DnonUniform(IfcDirection axis1, IfcDirection axis2, IfcCartesianPoint localOrigin, IfcReal scale, IfcReal scale2) : base(axis1, axis2, localOrigin, scale) { Scale2 = scale2; }
} // derived /// <summary> /// Construct a IfcAxis2Placement2D with all required attributes. /// </summary> public IfcAxis2Placement2D(IfcCartesianPoint location) : base(location) { }
public IfcLightSourceSpot(IfcLabel name, IfcColourRgb lightColour, IfcNormalisedRatioMeasure ambientIntensity, IfcNormalisedRatioMeasure intensity, IfcCartesianPoint position, IfcPositiveLengthMeasure radius, IfcReal constantAttenuation, IfcReal distanceAttenuation, IfcReal quadricAttenuation, IfcDirection orientation, IfcReal concentrationExponent, IfcPositivePlaneAngleMeasure spreadAngle, IfcPositivePlaneAngleMeasure beamWidthAngle) : base(name, lightColour, ambientIntensity, intensity, position, radius, constantAttenuation, distanceAttenuation, quadricAttenuation) { Orientation = orientation; ConcentrationExponent = concentrationExponent; SpreadAngle = spreadAngle; BeamWidthAngle = beamWidthAngle; }
public static bool?IfcSameCartesianPoint(IfcCartesianPoint cp1, IfcCartesianPoint cp2, double epsilon) { throw new NotImplementedException(); }