public static bool IsCorrecting( CIMGroundToGridCorrection c )
Public Shared Function IsCorrecting( _ ByVal c As CIMGroundToGridCorrection _ ) As Boolean
c != null && c.Enabled
CIMGroundToGridCorrection correction = null; bool isCorecting = correction.IsCorrecting(); // equivalent to correction != null && correction.Enabled; bool UsingOffset = correction.UsingDirectionOffset(); // equivalent to correction.IsCorrecting() && correction.UseDirection; double dOffset = correction.GetDirectionOffset(); // equivalent to correction.UsingDirectionOffset() ? correction.Direction : DefaultDirectionOffset; bool usingDistanceFactor = correction.UsingDistanceFactor(); // equivalent to correction.IsCorrecting() && correction.UseScale; bool usingElevation = correction.UsingElevationMode(); // equivalent to correction.UsingDistanceFactor() && c.ScaleType == GroundToGridScaleType.ComputeUsingElevation; bool usingSFactor = correction.UsingConstantScaleFactor(); //; equivalent to correction.UsingDistanceFactor() && correction.ScaleType == GroundToGridScaleType.ConstantFactor; double dSFactor = correction.GetConstantScaleFactor(); // equivalent to correctionc.UsingDistanceFactor() ? correction.ConstantScaleFactor : DefaultConstantScaleFactor;
Target Platforms: Windows 11, Windows 10
GroundToGridCorrection Class GroundToGridCorrection Members