• 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 T2DPoint

Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: SprutTechnology.VecMatrLib
Assembly: VecMatrLib.dll
Syntax
public readonly struct T2DPoint

Constructors

T2DPoint(Double, Double)

Declaration
public T2DPoint(double X, double Y)
Parameters
Type Name Description
System.Double X
System.Double Y

Properties

Item[Int32]

Declaration
public readonly double this[int index] { get; }
Parameters
Type Name Description
System.Int32 index
Property Value
Type Description
System.Double

Length

Declaration
public readonly double Length { get; }
Property Value
Type Description
System.Double

LengthSquared

Declaration
public readonly double LengthSquared { get; }
Property Value
Type Description
System.Double

Unit

Declaration
public static readonly T2DPoint Unit { get; }
Property Value
Type Description
T2DPoint

UnitX

Declaration
public static readonly T2DPoint UnitX { get; }
Property Value
Type Description
T2DPoint

UnitY

Declaration
public static readonly T2DPoint UnitY { get; }
Property Value
Type Description
T2DPoint

X

Declaration
public double X { readonly get; set; }
Property Value
Type Description
System.Double

Y

Declaration
public double Y { readonly get; set; }
Property Value
Type Description
System.Double

Zero

Declaration
public static readonly T2DPoint Zero { get; }
Property Value
Type Description
T2DPoint

Methods

Distance(T2DPoint, T2DPoint)

Declaration
public static double Distance(T2DPoint p1, T2DPoint p2)
Parameters
Type Name Description
T2DPoint p1
T2DPoint p2
Returns
Type Description
System.Double

DistanceSquared(T2DPoint, T2DPoint)

Declaration
public static double DistanceSquared(T2DPoint p1, T2DPoint p2)
Parameters
Type Name Description
T2DPoint p1
T2DPoint p2
Returns
Type Description
System.Double

Equals(T2DPoint)

Declaration
public readonly bool Equals(T2DPoint p)
Parameters
Type Name Description
T2DPoint p
Returns
Type Description
System.Boolean

Equals(T2DPoint, T2DPoint)

Declaration
public static bool Equals(T2DPoint p1, T2DPoint p2)
Parameters
Type Name Description
T2DPoint p1
T2DPoint p2
Returns
Type Description
System.Boolean

Equals(T2DPoint, T2DPoint, Double)

Declaration
public static bool Equals(T2DPoint p1, T2DPoint p2, double tolerance)
Parameters
Type Name Description
T2DPoint p1
T2DPoint p2
System.Double tolerance
Returns
Type Description
System.Boolean

Equals(Object)

Declaration
public override readonly bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.ValueType.Equals(System.Object)

GetHashCode()

Declaration
public override readonly int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.ValueType.GetHashCode()

GetLength(T2DPoint)

Declaration
public static double GetLength(T2DPoint v)
Parameters
Type Name Description
T2DPoint v
Returns
Type Description
System.Double

Lerp(T2DPoint, T2DPoint, Double)

Declaration
public static T2DPoint Lerp(T2DPoint p1, T2DPoint p2, double t)
Parameters
Type Name Description
T2DPoint p1
T2DPoint p2
System.Double t
Returns
Type Description
T2DPoint

LerpNormal(T2DPoint, T2DPoint, Double)

Declaration
public static T2DPoint LerpNormal(T2DPoint n1, T2DPoint n2, double t)
Parameters
Type Name Description
T2DPoint n1
T2DPoint n2
System.Double t
Returns
Type Description
T2DPoint

Norm(T2DPoint)

Declaration
public static T2DPoint Norm(T2DPoint v)
Parameters
Type Name Description
T2DPoint v
Returns
Type Description
T2DPoint

ToString()

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

VmV(T2DPoint, T2DPoint)

Declaration
public static double VmV(T2DPoint v1, T2DPoint v2)
Parameters
Type Name Description
T2DPoint v1
T2DPoint v2
Returns
Type Description
System.Double

VxV(T2DPoint, T2DPoint)

Declaration
public static double VxV(T2DPoint v1, T2DPoint v2)
Parameters
Type Name Description
T2DPoint v1
T2DPoint v2
Returns
Type Description
System.Double

Operators

Addition(T2DPoint, T2DPoint)

Declaration
public static T2DPoint operator +(T2DPoint p1, T2DPoint p2)
Parameters
Type Name Description
T2DPoint p1
T2DPoint p2
Returns
Type Description
T2DPoint

Division(T2DPoint, Double)

Declaration
public static T2DPoint operator /(T2DPoint p1, double k)
Parameters
Type Name Description
T2DPoint p1
System.Double k
Returns
Type Description
T2DPoint

Equality(T2DPoint, T2DPoint)

Declaration
public static bool operator ==(T2DPoint p1, T2DPoint p2)
Parameters
Type Name Description
T2DPoint p1
T2DPoint p2
Returns
Type Description
System.Boolean

Inequality(T2DPoint, T2DPoint)

Declaration
public static bool operator !=(T2DPoint p1, T2DPoint p2)
Parameters
Type Name Description
T2DPoint p1
T2DPoint p2
Returns
Type Description
System.Boolean

Multiply(T2DPoint, Double)

Declaration
public static T2DPoint operator *(T2DPoint p1, double k)
Parameters
Type Name Description
T2DPoint p1
System.Double k
Returns
Type Description
T2DPoint

Multiply(Double, T2DPoint)

Declaration
public static T2DPoint operator *(double k, T2DPoint p2)
Parameters
Type Name Description
System.Double k
T2DPoint p2
Returns
Type Description
T2DPoint

Subtraction(T2DPoint, T2DPoint)

Declaration
public static T2DPoint operator -(T2DPoint p1, T2DPoint p2)
Parameters
Type Name Description
T2DPoint p1
T2DPoint p2
Returns
Type Description
T2DPoint

UnaryNegation(T2DPoint)

Declaration
public static T2DPoint operator -(T2DPoint p)
Parameters
Type Name Description
T2DPoint p
Returns
Type Description
T2DPoint
In This Article
Back to top Generated by DocFX