/// <summary> /// Projects this instance to a 2-dimensional extents object in the Y-Z plane, where the x-coordinate is to be taken as the z-coordinate. /// </summary> /// <returns>Extents.</returns> public Extents ProjectYZ() { Extents extents = new Extents(); extents.Add(new Point(MaxZ, MaxY)); extents.Add(new Point(MaxZ, MinY)); extents.Add(new Point(MinZ, MinY)); extents.Add(new Point(MinZ, MaxY)); return(extents); }
/// <summary> /// Projects this instance to a 2-dimensional extents object in the X-Z plane, where the y-coordinate is to be taken as the y-coordinate. /// </summary> /// <returns>Extents.</returns> public Extents ProjectXZ() { Extents extents = new Extents(); extents.Add(new Point(MaxX, MaxZ)); extents.Add(new Point(MaxX, MinZ)); extents.Add(new Point(MinX, MinZ)); extents.Add(new Point(MinX, MaxZ)); return(extents); }