Esempio n. 1
0
 public IfcAxis2Placement3D(IfcCartesianPoint location)
 {
     if (location == null)
     {
         throw new ArgumentNullException("location");
     }
     Location = location;
 }
Esempio n. 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;
 }
Esempio n. 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,
            };
        }
Esempio n. 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,

            };
        }
Esempio n. 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;
 }
Esempio n. 6
0
 public IfcAxis2Placement3D(IfcCartesianPoint location)
 {
     if (location == null) throw new ArgumentNullException("location");
     Location = location;
 }