public IfcCartesianTransformationOperator(IfcDirection axis1, IfcDirection axis2, IfcCartesianPoint localOrigin, IfcReal scale) : base()
 {
     Axis1       = axis1;
     Axis2       = axis2;
     LocalOrigin = localOrigin;
     Scale       = scale;
 }
예제 #2
0
 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;
 }
예제 #3
0
 public IfcOffsetCurve3D(IfcCurve basisCurve, IfcLengthMeasure distance, IfcLogical selfIntersect, IfcDirection refDirection) : base()
 {
     BasisCurve    = basisCurve;
     Distance      = distance;
     SelfIntersect = selfIntersect;
     RefDirection  = refDirection;
 }
예제 #4
0
파일: Document.cs 프로젝트: vserge/IFC-gen
        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);
        }
예제 #5
0
 public IfcFixedReferenceSweptAreaSolid(IfcProfileDef sweptArea, IfcAxis2Placement3D position, IfcCurve directrix, IfcParameterValue startParam, IfcParameterValue endParam, IfcDirection fixedReference) : base(sweptArea, position)
 {
     Directrix      = directrix;
     StartParam     = startParam;
     EndParam       = endParam;
     FixedReference = fixedReference;
 }
예제 #6
0
        public IfcGeometricRepresentationContext(IfcLabel contextIdentifier, IfcLabel contextType, IfcDimensionCount coordinateSpaceDimension, IfcReal precision, IfcAxis2Placement worldCoordinateSystem, IfcDirection trueNorth) : base(contextIdentifier, contextType)
        {
            HasSubContexts         = new List <IfcGeometricRepresentationSubContext>();
            HasCoordinateOperation = new List <IfcCoordinateOperation>();

            CoordinateSpaceDimension = coordinateSpaceDimension;
            Precision             = precision;
            WorldCoordinateSystem = worldCoordinateSystem;
            TrueNorth             = trueNorth;
        }
예제 #7
0
 public IfcAxis2Placement2D(IfcCartesianPoint location, IfcDirection refDirection) : base(location)
 {
     RefDirection = refDirection;
 }
예제 #8
0
 public static IfcVector IfcCrossProduct(IfcDirection arg1, IfcDirection arg2)
 {
     throw new NotImplementedException();
 }
예제 #9
0
 public IfcSurfaceOfLinearExtrusion(IfcProfileDef sweptCurve, IfcAxis2Placement3D position, IfcDirection extrudedDirection, IfcLengthMeasure depth) : base(sweptCurve, position)
 {
     ExtrudedDirection = extrudedDirection;
     Depth             = depth;
 }
예제 #10
0
 public IfcGeometricRepresentationSubContext(IfcLabel contextIdentifier, IfcLabel contextType, IfcDimensionCount coordinateSpaceDimension, IfcReal precision, IfcAxis2Placement worldCoordinateSystem, IfcDirection trueNorth, IfcGeometricRepresentationContext parentContext, IfcPositiveRatioMeasure targetScale, IfcGeometricProjectionEnum targetView, IfcLabel userDefinedTargetView) : base(contextIdentifier, contextType, coordinateSpaceDimension, precision, worldCoordinateSystem, trueNorth)
 {
     ParentContext         = parentContext;
     TargetScale           = targetScale;
     TargetView            = targetView;
     UserDefinedTargetView = userDefinedTargetView;
 }
 public IfcCartesianTransformationOperator2DnonUniform(IfcDirection axis1, IfcDirection axis2, IfcCartesianPoint localOrigin, IfcReal scale, IfcReal scale2) : base(axis1, axis2, localOrigin, scale)
 {
     Scale2 = scale2;
 }
 /// <summary>
 /// Construct a IfcStructuralCurveConnection with all required attributes.
 /// </summary>
 public IfcStructuralCurveConnection(IfcGloballyUniqueId globalId, IfcDirection axis) : base(globalId)
 {
     Axis = axis;
 }
예제 #13
0
 public IfcAxis1Placement(IfcCartesianPoint location, IfcDirection axis) : base(location)
 {
     Axis = axis;
 }
예제 #14
0
 public IfcVectorOrDirection(IfcDirection choice)
 {
     this.choice = choice;
 }
예제 #15
0
 public IfcVector(IfcDirection orientation, IfcLengthMeasure magnitude) : base()
 {
     Orientation = orientation;
     Magnitude   = magnitude;
 }
 public IfcExtrudedAreaSolidTapered(IfcProfileDef sweptArea, IfcAxis2Placement3D position, IfcDirection extrudedDirection, IfcPositiveLengthMeasure depth, IfcProfileDef endSweptArea) : base(sweptArea, position, extrudedDirection, depth)
 {
     EndSweptArea = endSweptArea;
 }
 /// <summary>
 /// Construct a IfcStructuralCurveMemberVarying with all required attributes.
 /// </summary>
 public IfcStructuralCurveMemberVarying(IfcGloballyUniqueId globalId, IfcStructuralCurveMemberTypeEnum predefinedType, IfcDirection axis) : base(globalId, predefinedType, axis)
 {
 }
예제 #18
0
 /// <summary>
 /// Construct a IfcStructuralCurveMember with all required attributes.
 /// </summary>
 public IfcStructuralCurveMember(IfcGloballyUniqueId globalId, IfcStructuralCurveMemberTypeEnum predefinedType, IfcDirection axis) : base(globalId)
 {
     PredefinedType = predefinedType;
     Axis           = axis;
 }
예제 #19
0
 public IfcStructuralCurveMember(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcObjectPlacement objectPlacement, IfcProductRepresentation representation, IfcStructuralCurveMemberTypeEnum predefinedType, IfcDirection axis) : base(globalId, ownerHistory, name, description, objectType, objectPlacement, representation)
 {
     PredefinedType = predefinedType;
     Axis           = axis;
 }
예제 #20
0
 /// <summary>
 /// Construct a IfcLightSourceDirectional with all required attributes.
 /// </summary>
 public IfcLightSourceDirectional(IfcColourRgb lightColour, IfcDirection orientation) : base(lightColour)
 {
     Orientation = orientation;
 }
 public IfcStructuralCurveConnection(IfcGloballyUniqueId globalId, IfcOwnerHistory ownerHistory, IfcLabel name, IfcText description, IfcLabel objectType, IfcObjectPlacement objectPlacement, IfcProductRepresentation representation, IfcBoundaryCondition appliedCondition, IfcDirection axis) : base(globalId, ownerHistory, name, description, objectType, objectPlacement, representation, appliedCondition)
 {
     Axis = axis;
 }
예제 #22
0
 public IfcLightSourceDirectional(IfcLabel name, IfcColourRgb lightColour, IfcNormalisedRatioMeasure ambientIntensity, IfcNormalisedRatioMeasure intensity, IfcDirection orientation) : base(name, lightColour, ambientIntensity, intensity)
 {
     Orientation = orientation;
 }
예제 #23
0
 public IfcExtrudedAreaSolid(IfcProfileDef sweptArea, IfcAxis2Placement3D position, IfcDirection extrudedDirection, IfcPositiveLengthMeasure depth) : base(sweptArea, position)
 {
     ExtrudedDirection = extrudedDirection;
     Depth             = depth;
 }
예제 #24
0
 /// <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;
 }
예제 #25
0
 /// <summary>
 /// Construct a IfcFixedReferenceSweptAreaSolid with all required attributes.
 /// </summary>
 public IfcFixedReferenceSweptAreaSolid(IfcProfileDef sweptArea, IfcCurve directrix, IfcDirection fixedReference) : base(sweptArea)
 {
     Directrix      = directrix;
     FixedReference = fixedReference;
 }
예제 #26
0
 public static double IfcDotProduct(IfcDirection arg1, IfcDirection arg2)
 {
     throw new NotImplementedException();
 }
 public IfcGridPlacementDirectionSelect(IfcDirection choice)
 {
     this.choice = choice;
 }
예제 #28
0
 public IfcAxis2Placement3D(IfcCartesianPoint location, IfcDirection axis, IfcDirection refDirection) : base(location)
 {
     Axis         = axis;
     RefDirection = refDirection;
 }
 public IfcCartesianTransformationOperator3D(IfcDirection axis1, IfcDirection axis2, IfcCartesianPoint localOrigin, IfcReal scale, IfcDirection axis3) : base(axis1, axis2, localOrigin, scale)
 {
     Axis3 = axis3;
 }
예제 #30
0
 public static IfcDirection IfcConvertDirectionInto2D(IfcDirection direction)
 {
     throw new NotImplementedException();
 }