Example #1
0
 public LineSegmentShape(LineSegmentShapeDescriptor descriptor)
 {
     WrappedLineSegmentShape = new global::DigitalRune.Geometry.Shapes.LineSegmentShape(descriptor.StartPoint.ToDigitalRune(),
                                                                                        descriptor.EndPoint.ToDigitalRune());
     UserData = descriptor.UserData;
 }
 public LineSegmentShape(LineSegmentShapeDescriptor descriptor)
 {
     WrappedLineSegmentShape = new global::DigitalRune.Geometry.Shapes.LineSegmentShape(descriptor.StartPoint.ToDigitalRune(),
                                                     descriptor.EndPoint.ToDigitalRune());
     UserData = descriptor.UserData;
 }