public IfcAxis2Placement3D(IfcCartesianPoint location) { if (location == null) { throw new ArgumentNullException("location"); } Location = location; }
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; }
protected BbCoordinate2D(double x, double y) { this.x = x; this.y = y; var list = new List<IfcLengthMeasure> {x, y}; IfcCartesianPoint = new IfcCartesianPoint{ Coordinates = list, }; }
// 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, }; }
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; }
public IfcAxis2Placement3D(IfcCartesianPoint location) { if (location == null) throw new ArgumentNullException("location"); Location = location; }