Example #1
0
 public Point(DBPoint point)
 {
     _id = point.Id;
     _name = "point";
     _position = new Coordinates() { X = point.Position.X, Y = point.Position.Y };
     _height = point.Position.Z;
 }
Example #2
0
 public Point()
 {
     _id = new ObjectId();
     _name = "point";
     _position = new Coordinates() { X = 0, Y = 0 };
     _height = 0;
 }
Example #3
0
 public Line(AcadDS.Line line)
 {
     _id = line.Id;
     _name = "line";
     _startPoint = new Coordinates() { X = line.StartPoint.X, Y = line.StartPoint.Y };
     _endPoint = new Coordinates() { X = line.EndPoint.X, Y = line.EndPoint.Y };
     _height = line.StartPoint.Z;
 }
Example #4
0
 public Line()
 {
     _id = new ObjectId();
     _name = "line";
     _startPoint = new Coordinates() { X = 0, Y = 0 };
     _endPoint = new Coordinates() { X = 0, Y = 0 };
     _height = 0;
 }
Example #5
0
 public Circle(AcadDS.Circle circle)
 {
     _id = circle.Id;
     _name = "circle";
     _center = new Coordinates() { X = circle.Center.X, Y = circle.Center.Y };
     _radius = circle.Radius;
     _height = circle.Center.Z;
 }
Example #6
0
 public Circle()
 {
     _id = new ObjectId();
     _name = "circle";
     _center = new Coordinates() { X = 0, Y = 0 };
     _height = 0;
 }