private Line( Point point, float theta ) { theta *= (float) ( Math.PI / 180 ); k = (float) ( -1.0f / Math.Tan( theta ) ); if ( !float.IsInfinity( k ) ) { b = point.Y - k * point.X; } else { b = point.X; } } #endregion