Skip to main content

Motion Standalone Postprocessor C# library 2024 R2

Class Convert

Last update: 03.07.2024

Namespace: VM.Managed.Utility
Assembly: VM.dll

This class is to represent the special convert.

public static class Convert

Inheritance

objectConvert

Properties

DToR

Gets the Degree to Radius.

public static double DToR { get; }

Property Value

double

RToD

Gets the Radius to Degree.

public static double RToD { get; }

Property Value

double

SignificantFigure

Gets the significant figure.

public static int SignificantFigure { get; set; }

Property Value

int

Methods

GetContrastColor(Color)

public static Color GetContrastColor(Color baseColor)

Parameters

baseColor Color

Returns

Color

ToString(double)

Returns a that represents this instance.

public static string ToString(double dVal)

Parameters

dVal double

The val.

Returns

string

A that represents this instance.

ToString(Vector)

Returns a that represents this instance.

public static string ToString(Vector vec)

Parameters

vec Vector

Returns

string

A that represents this instance.

ToString(double, double)

Returns a that represents this instance.

public static string ToString(double dVal, double dConvertFactor)

Parameters

dVal double

The val.

dConvertFactor double

The convert factor.

Returns

string

A that represents this instance.