Click or drag to resize

NumericTextConverter Class

Convert numbers and strings.
Inheritance Hierarchy
SystemObject
  RootPro.RootProCAD.GeometryNumericTextConverter

Namespace:  RootPro.RootProCAD.Geometry
Assembly:  RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax
public abstract class NumericTextConverter

The NumericTextConverter type exposes the following members.

Constructors
  NameDescription
Protected methodNumericTextConverter
Initializes a new instance of the NumericTextConverter class
Top
Methods
  NameDescription
Public methodAngleDegreeToText
Converts an angle value (Degree) to a string in "degrees-minutes-seconds" or other notation.
Public methodDegreeToDmsText
Converts an angle value (Degree) to a string in "degrees-minutes-seconds" or other notation. Same as the AngleDegreeToText method.
Public methodDmsTextToDegree
Converts an angle string expressed in "degrees-minutes-seconds" or other notation to an angle value (Degree). Same as the TextToAngleDegree method.
Public methodDoubleToText
Converts a real value (double) to a string with the specified notation. If the specified notation type is feet-inches, the specified real value is converted as millimeters.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPointToText
Converts a point coordinate value to a character string in the specified notation. If the specified notation type is feet-inches, the specified real value is converted as millimeters.
Public methodTextToAngleDegree
Converts an angle string expressed in "degrees-minutes-seconds" or other notation to an angle value (Degree).
Public methodTextToDouble
Converts a string representing length to a real value (double). If the specified string is in feet-inches, the resulting real value is in millimeters.
Public methodTextToPoint
Converts a string representing a point coordinate value to a real value point coordinate value. If the specified string is in feet-inches, the resulting real value is in millimeters.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also