public Vector2[] GetShape(ref Matrix transform, Plane p)
{
List<Vector3> points;
List<Line> lines;
IntersectPlane(p, Transform(ref transform, vertices), indices, out points, out lines);
return PolygonReduce(CreateShape(points, lines, 0.0001f), 0.3f).ToArray();
}