• Articles
  • Api Documentation
Show / Hide Table of Contents
  • SprutTechnology.GeWatchDNClient
    • STGeWatch
    • STGeWatchClient
  • SprutTechnology.SCPostprocessor
    • ArcBreakMode
    • ArcSettings
    • BrakeAxesEnumerator
    • CLDArray
    • CLDAxisBrake
    • CLDCmdType
    • CLDCmdTypeExtensions
    • CLDConst
    • CLDCycle
    • CLDEDMMotionMode
    • CLDFeedKind
    • CLDFeedUnits
    • CLDFileType
    • CLDInterpMode
    • CLDMultiMotionAxis
    • CLDOriginPositionMode
    • CLDOriginType
    • CLDPlaneType
    • CLDRotationDir
    • CLDSpindleAction
    • CLDSpindleSpeedMode
    • CLDThreadOrient
    • CLDThreadUnits
    • CodeParamType
    • CommonFuncs
    • CountingNCWord
    • EDMRollMode
    • EPostprocessorException
    • IArrayNamedPropertyIndexer
    • IBinaryNCStorage
    • IBooleanNamedPropertyIndexer
    • ICLDAxesBrakeCommand
    • ICLDBrakeAxesIndexer
    • ICLDCircleCommand
    • ICLDClampCommand
    • ICLDCommand
    • ICLDCommentCommand
    • ICLDCoolantCommand
    • ICLDCoolantTubeIndexer
    • ICLDCutComCommand
    • ICLDCycleCommand
    • ICLDDelayCommand
    • ICLDEDMMoveCommand
    • ICLDEDMMoveSpan
    • ICLDEffectorCommand
    • ICLDExtCycleCommand
    • ICLDFeedrateCommand
    • ICLDFile
    • ICLDFileCmdIndexer
    • ICLDFileList
    • ICLDFiniCommand
    • ICLDFromCommand
    • ICLDGoHomeCommand
    • ICLDGotoCommand
    • ICLDInsertCommand
    • ICLDInterpolationCommand
    • ICLDLoadToolCommand
    • ICLDMachineAxesIndexer
    • ICLDMachineAxisInfo
    • ICLDMachineInfo
    • ICLDMachiningTool
    • ICLDMotionCommand
    • ICLDMoveVelocityCommand
    • ICLDMultiArcCommand
    • ICLDMultiArcPoint
    • ICLDMultiAxisArray
    • ICLDMultiGotoCommand
    • ICLDMultiMotionAxesIndexer
    • ICLDMultiMotionCommand
    • ICLDOpStopCommand
    • ICLDOriginCommand
    • ICLDPartNoCommand
    • ICLDPhysicGotoCommand
    • ICLDPlaneCommand
    • ICLDPowerCommand
    • ICLDPPFunCommand
    • ICLDPrintCommand
    • ICLDProject
    • ICLDRapidCommand
    • ICLDSelWorkpieceCommand
    • ICLDSinglePassThreadCommand
    • ICLDSpindleCommand
    • ICLDStopCommand
    • ICLDStructureCommand
    • ICLDSub
    • ICLDSubList
    • ICLDSyncAxesCommand
    • ICLDSyncWaitCommand
    • ICLDTakeoverCommand
    • ICLDTechOperation
    • ICLDTechOperationList
    • ICLDTLContactCommand
    • ICLDTranslator
    • ICodeParametersOfCLDCommand
    • ICodeParametersOfCLDCommandBooleanIndexer
    • ICodeParametersOfCLDCommandFloatIndexer
    • ICodeParametersOfCLDCommandIntegerIndexer
    • ICodeParametersOfCLDCommandStringIndexer
    • IFloatNamedPropertyIndexer
    • IInputBox
    • IInputBoxEnumValuesList<T>
    • IInputBoxFactory
    • IInputBoxProperty
    • IIntegerNamedPropertyIndexer
    • INamedPropertiesCollection
    • INamedProperty
    • INamedPropertyIndexer
    • INCBlockOwner
    • INCFileOwner
    • INCLabel
    • INCStorage
    • INCStorageManager
    • InitNamesProc
    • InpArray<T>
    • InpNumber
    • InputBoxEnumValuesFormer<T>
    • InputBoxValueSetter<T>
    • IPostprocessingLogReceiver
    • IPPFunTechInfo
    • IPPFunTechInfoTool
    • IPPFunTechInfoWorkpiece
    • IStringNamedPropertyIndexer
    • ITextNCStorage
    • IToolGeometry
    • Log
    • LogMessageType
    • MsgBtnSet
    • MsgClickedBtn
    • MsgDefBtn
    • MsgType
    • MultiMotionAxesEnumerator
    • NamedParamType
    • NamedPropIterator
    • NCBlock
    • NCBlockWordsEnumerator
    • NCLabelSnapMode
    • NCWord
    • NCWordDecPoint
    • NCWordSign
    • NCWordState
    • NCWordTextCase
    • NumericNCWord
    • PostprocessorSettings
    • TBinaryNCFile
    • TExternalNCFile
    • TextNCWord
    • TInp2DPoint
    • TInp3DPoint
    • TInp5DPoint
    • TInpComplexRotationConvention
    • TInpLocation
    • TInpQuaternion
    • TInpRotation
    • TInpRotationConvention
    • TNCFile
    • TNCFilesManager
    • TNCStorageType
    • TPostprocessor
    • TrailingZeroesMode
    • TransliterationTable
    • Transliterator
    • TranslitPair
    • TSimpleTextNCFile
    • TTextNCFile
  • SprutTechnology.STDefLib
    • AngleUnits
    • STDef
  • SprutTechnology.STMachiningToolsImportHelper
    • FinalizeMachiningToolsImportLib
    • GetMachiningToolsImportLibPointer
    • IMTI_AxialToolItemsExtension
    • IMTI_CustomAxialShapeToolExtension
    • IMTI_MachiningToolsImportLibraryExtension
    • IMTI_MachiningToolsItemExtension
    • IMTI_TurnToolItemsExtension
    • MTIMachiningToolsImportHelper
    • NativeLibLoader
    • TPlanarCurveReader
    • TPlanarCurveSpan
  • SprutTechnology.VecMatrLib
    • EVecMatrLibError
    • GWConsts
    • ISTGeWatch
    • ISTGeWatchable
    • ISTGeWatchClient
    • T2DPoint
    • T3DArc
    • T3DCut
    • T3DMatrix
    • T3DPoint
    • T5DPoint
    • TComplexRotationConvention
    • TLocation
    • TQuaternion
    • TRotation
    • TRotationConvention
    • TRotationsConverter
    • VML

Struct InpNumber

Floating number that supports automatic implicit conversion to and from an integer number.

Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SprutTechnology.SCPostprocessor
Assembly: SCPostprocessor.dll
Syntax
public readonly struct InpNumber

Constructors

InpNumber(Double)

Initializes the InpNumber by the given value of the type double.

Declaration
public InpNumber(double value)
Parameters
Type Name Description
System.Double value

Numerical value for initialization.

InpNumber(Int32)

Initializes the InpNumber by the given value of the type int.

Declaration
public InpNumber(int value)
Parameters
Type Name Description
System.Int32 value

Numerical value for initialization.

InpNumber(Single)

Initializes the InpNumber by the given value of the type float.

Declaration
public InpNumber(float value)
Parameters
Type Name Description
System.Single value

Numerical value for initialization.

Methods

ToString()

Converts this numerical value to a string.

Declaration
public override readonly string ToString()
Returns
Type Description
System.String
Overrides
System.ValueType.ToString()

Operators

Addition(InpNumber, InpNumber)

"+" operator for InpNumbers.

Declaration
public static InpNumber operator +(InpNumber a, InpNumber b)
Parameters
Type Name Description
InpNumber a

The first number to add.

InpNumber b

The second number to add.

Returns
Type Description
InpNumber

The sum of two values.

Division(InpNumber, InpNumber)

"/" operator for InpNumbers.

Declaration
public static InpNumber operator /(InpNumber a, InpNumber b)
Parameters
Type Name Description
InpNumber a

The first number to divide.

InpNumber b

The second number to divide.

Returns
Type Description
InpNumber

The division of two values.

Explicit(InpNumber to Byte)

Explicit conversion between InpNumber and byte.

Declaration
public static explicit operator byte (InpNumber n)
Parameters
Type Name Description
InpNumber n

The value to convert.

Returns
Type Description
System.Byte

Explicit(InpNumber to Int16)

Explicit conversion between InpNumber and short.

Declaration
public static explicit operator short (InpNumber n)
Parameters
Type Name Description
InpNumber n

The value to convert.

Returns
Type Description
System.Int16

Explicit(InpNumber to Single)

Explicit conversion between InpNumber and float.

Declaration
public static explicit operator float (InpNumber n)
Parameters
Type Name Description
InpNumber n

The value to convert.

Returns
Type Description
System.Single

Explicit(InpNumber to UInt32)

Explicit conversion between InpNumber and uint.

Declaration
public static explicit operator uint (InpNumber n)
Parameters
Type Name Description
InpNumber n

The value to convert.

Returns
Type Description
System.UInt32

Explicit(Byte to InpNumber)

Explicit conversion between byte and InpNumber.

Declaration
public static explicit operator InpNumber(byte n)
Parameters
Type Name Description
System.Byte n

The value to convert.

Returns
Type Description
InpNumber

Explicit(Int16 to InpNumber)

Explicit conversion between short and InpNumber.

Declaration
public static explicit operator InpNumber(short n)
Parameters
Type Name Description
System.Int16 n

The value to convert.

Returns
Type Description
InpNumber

Explicit(Single to InpNumber)

Explicit conversion between float and InpNumber.

Declaration
public static explicit operator InpNumber(float n)
Parameters
Type Name Description
System.Single n

The value to convert.

Returns
Type Description
InpNumber

Explicit(UInt32 to InpNumber)

Explicit conversion between uint and InpNumber.

Declaration
public static explicit operator InpNumber(uint n)
Parameters
Type Name Description
System.UInt32 n

The value to convert.

Returns
Type Description
InpNumber

Implicit(InpNumber to Double)

Implicit conversion between double and InpNumber.

Declaration
public static implicit operator double (InpNumber n)
Parameters
Type Name Description
InpNumber n

The value to convert.

Returns
Type Description
System.Double

Implicit(InpNumber to Int32)

Implicit conversion between InpNumber and int.

Declaration
public static implicit operator int (InpNumber n)
Parameters
Type Name Description
InpNumber n

The value to convert.

Returns
Type Description
System.Int32

Implicit(Double to InpNumber)

Implicit conversion between InpNumber and double.

Declaration
public static implicit operator InpNumber(double n)
Parameters
Type Name Description
System.Double n

The value to convert.

Returns
Type Description
InpNumber

Implicit(Int32 to InpNumber)

Implicit conversion between int and InpNumber.

Declaration
public static implicit operator InpNumber(int n)
Parameters
Type Name Description
System.Int32 n

The value to convert.

Returns
Type Description
InpNumber

Multiply(InpNumber, InpNumber)

"*" operator for InpNumbers.

Declaration
public static InpNumber operator *(InpNumber a, InpNumber b)
Parameters
Type Name Description
InpNumber a

The first number to multiply.

InpNumber b

The second number to multiply.

Returns
Type Description
InpNumber

The multiplication of two values.

Subtraction(InpNumber, InpNumber)

"-" operator for InpNumbers.

Declaration
public static InpNumber operator -(InpNumber a, InpNumber b)
Parameters
Type Name Description
InpNumber a

The first number to subtract from.

InpNumber b

The second number to subtract.

Returns
Type Description
InpNumber

The difference of two values.

UnaryNegation(InpNumber)

Unary "-" operator for InpNumbers.

Declaration
public static InpNumber operator -(InpNumber a)
Parameters
Type Name Description
InpNumber a

The number to negate.

Returns
Type Description
InpNumber

Opposite sign value.

UnaryPlus(InpNumber)

Unary "+" operator for InpNumbers.

Declaration
public static InpNumber operator +(InpNumber a)
Parameters
Type Name Description
InpNumber a

The number to convert.

Returns
Type Description
InpNumber

The same number.

In This Article
Back to top Generated by DocFX