public CylinderShape(CylinderShapeDescriptor descriptor)
 {
     WrappedCylinderShape = new global::DigitalRune.Geometry.Shapes.CylinderShape(descriptor.Radius,descriptor.Height);
     UserData = descriptor.UserData;
 }
 public static ICylinderShape CreateCylinder(this IFactory<IShape> factory,
                                      CylinderShapeDescriptor descriptor)
 {
     return factory.Create<ICylinderShape, CylinderShapeDescriptor>(descriptor);
 }
 public DefaultCylinderShape(CylinderShapeDescriptor descriptor)
 {
     Descriptor = descriptor;
 }