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

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.VecMatrLib
Assembly: VecMatrLib.dll
Syntax
public readonly struct TQuaternion

Constructors

TQuaternion(T3DMatrix)

Declaration
public TQuaternion(T3DMatrix m)
Parameters
Type Name Description
T3DMatrix m

TQuaternion(T3DPoint, T3DPoint, T3DPoint)

Declaration
public TQuaternion(T3DPoint vX, T3DPoint vY, T3DPoint vZ)
Parameters
Type Name Description
T3DPoint vX
T3DPoint vY
T3DPoint vZ

TQuaternion(T3DPoint, Double)

Declaration
public TQuaternion(T3DPoint Axis, double Angle)
Parameters
Type Name Description
T3DPoint Axis
System.Double Angle

TQuaternion(Double, Double, Double)

Declaration
public TQuaternion(double roll, double pitch, double yaw)
Parameters
Type Name Description
System.Double roll
System.Double pitch
System.Double yaw

TQuaternion(Double, Double, Double, Double)

Declaration
public TQuaternion(double X, double Y, double Z, double W)
Parameters
Type Name Description
System.Double X
System.Double Y
System.Double Z
System.Double W

Fields

Unit

Declaration
public static TQuaternion Unit
Field Value
Type Description
TQuaternion

Zero

Declaration
public static TQuaternion Zero
Field Value
Type Description
TQuaternion

Properties

W

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

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

Z

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

Methods

Lerp(TQuaternion, TQuaternion, Double)

Declaration
public static TQuaternion Lerp(TQuaternion a, TQuaternion b, double t)
Parameters
Type Name Description
TQuaternion a
TQuaternion b
System.Double t
Returns
Type Description
TQuaternion

Norm(TQuaternion)

Declaration
public static TQuaternion Norm(TQuaternion q)
Parameters
Type Name Description
TQuaternion q
Returns
Type Description
TQuaternion

q_mul_q(TQuaternion, TQuaternion)

Declaration
public static double q_mul_q(TQuaternion q1, TQuaternion q2)
Parameters
Type Name Description
TQuaternion q1
TQuaternion q2
Returns
Type Description
System.Double

q_x_q(TQuaternion, TQuaternion)

Declaration
public static TQuaternion q_x_q(TQuaternion q1, TQuaternion q2)
Parameters
Type Name Description
TQuaternion q1
TQuaternion q2
Returns
Type Description
TQuaternion

SLerp(TQuaternion, TQuaternion, Double)

Declaration
public static TQuaternion SLerp(TQuaternion a, TQuaternion b, double t)
Parameters
Type Name Description
TQuaternion a
TQuaternion b
System.Double t
Returns
Type Description
TQuaternion

ToMatrix()

Declaration
public readonly T3DMatrix ToMatrix()
Returns
Type Description
T3DMatrix

ToMatrix(T3DPoint)

Declaration
public readonly T3DMatrix ToMatrix(T3DPoint position)
Parameters
Type Name Description
T3DPoint position
Returns
Type Description
T3DMatrix

ToString()

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

ToVector()

Declaration
public readonly T3DPoint ToVector()
Returns
Type Description
T3DPoint

TryNorm(ref TQuaternion, Double)

Declaration
public static bool TryNorm(ref TQuaternion q, double Tol = 0)
Parameters
Type Name Description
TQuaternion q
System.Double Tol
Returns
Type Description
System.Boolean

Operators

Addition(TQuaternion, TQuaternion)

Declaration
public static TQuaternion operator +(TQuaternion q1, TQuaternion q2)
Parameters
Type Name Description
TQuaternion q1
TQuaternion q2
Returns
Type Description
TQuaternion

Multiply(Double, TQuaternion)

Declaration
public static TQuaternion operator *(double s, TQuaternion q)
Parameters
Type Name Description
System.Double s
TQuaternion q
Returns
Type Description
TQuaternion

Subtraction(TQuaternion, TQuaternion)

Declaration
public static TQuaternion operator -(TQuaternion q1, TQuaternion q2)
Parameters
Type Name Description
TQuaternion q1
TQuaternion q2
Returns
Type Description
TQuaternion
In This Article
Back to top Generated by DocFX