Ejemplo n.º 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;
 }
Ejemplo n.º 2
0
 public Point()
 {
     _id = new ObjectId();
     _name = "point";
     _position = new Coordinates() { X = 0, Y = 0 };
     _height = 0;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 6
0
 public Circle()
 {
     _id = new ObjectId();
     _name = "circle";
     _center = new Coordinates() { X = 0, Y = 0 };
     _height = 0;
 }