/// <summary> /// Gets the transformation matrix from the World Coordinate System (WCS) /// to the specified model space viewport Display Coordinate System (DCS). /// </summary> /// <param name="vp">The instance to which this method applies.</param> /// <returns>The WCS to DCS transformation matrix.</returns> public static Matrix3d WCS2DCS(this Viewport vp) { return(vp.DCS2WCS().Inverse()); }