public Point(DBPoint point) { _id = point.Id; _name = "point"; _position = new Coordinates() { X = point.Position.X, Y = point.Position.Y }; _height = point.Position.Z; }
public Point() { _id = new ObjectId(); _name = "point"; _position = new Coordinates() { X = 0, Y = 0 }; _height = 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; }
public Line() { _id = new ObjectId(); _name = "line"; _startPoint = new Coordinates() { X = 0, Y = 0 }; _endPoint = new Coordinates() { X = 0, Y = 0 }; _height = 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; }
public Circle() { _id = new ObjectId(); _name = "circle"; _center = new Coordinates() { X = 0, Y = 0 }; _height = 0; }