예제 #1
0
 public IfcAxis2Placement3D(IfcCartesianPoint location)
 {
     if (location == null)
     {
         throw new ArgumentNullException("location");
     }
     Location = location;
 }
예제 #2
0
 public IfcAxis2Placement3D(IfcCartesianPoint location, IfcDirection axis, IfcDirection refAxis)
 {
     if (location == null) throw new ArgumentNullException("location");
     if (refAxis == null) throw new ArgumentNullException("refAxis");
     if (axis == null) throw new ArgumentNullException("axis");
     this.Location = location;
     this.Axis = axis;
     this.RefDirection = refAxis;
 }
예제 #3
0
        protected BbCoordinate2D(double x, double y)
        {
            this.x = x;
            this.y = y;
            var list = new List<IfcLengthMeasure> {x, y};

            IfcCartesianPoint = new IfcCartesianPoint{
                Coordinates = list,
            };
        }
예제 #4
0
        //        public Coordinate3D ()
        //            :this (new double[]{0,0,0})
        //        {
        //        }
        BbCoordinate3D(double x, double y, double z)
        {
            this.x = x;
            this.y = y;
            this.z = z;

            list3D.Add(x);
            list3D.Add(y);
            list3D.Add(z);

            IfcCartesianPoint = new IfcCartesianPoint
            {
                Coordinates = list3D,

            };
        }
예제 #5
0
 public IfcAxis2Placement3D(IfcCartesianPoint location, IfcDirection axis, IfcDirection refAxis)
 {
     if (location == null)
     {
         throw new ArgumentNullException("location");
     }
     if (refAxis == null)
     {
         throw new ArgumentNullException("refAxis");
     }
     if (axis == null)
     {
         throw new ArgumentNullException("axis");
     }
     this.Location     = location;
     this.Axis         = axis;
     this.RefDirection = refAxis;
 }
예제 #6
0
 public IfcAxis2Placement3D(IfcCartesianPoint location)
 {
     if (location == null) throw new ArgumentNullException("location");
     Location = location;
 }