Skip to content

editorGlobalsFingerJointAssembler

Class: FingerJointAssembler

Hierarchy

  • FingerJointAssembler

TeeJointAssembler

Implements

Index

Methods

Methods

assemble

assemble(operation: CombineOperation): void

Implementation of IJointAssembler

Defined in src/modules/kyub.core.plateImport/src/assemblers/FingerJointAssembler.ts:120

Puts the originMesh into the assembly of the destinationMesh. Then it transforms the originMesh so that the finger joints are aligned.

Parameters:

Name Type
operation CombineOperation

Returns: void


calculateTransformation

calculateTransformation(operation: CombineOperation): IAssembleTransformation

Implementation of IJointAssembler

Defined in src/modules/kyub.core.plateImport/src/assemblers/FingerJointAssembler.ts:131

Parameters:

Name Type
operation CombineOperation

Returns: IAssembleTransformation


isJointMatchSensible

isJointMatchSensible(originGlobalJointDirection: Vector3, originGlobalNormal: Vector3, destinationGlobalJointDirection: Vector3, destinationGlobalNormal: Vector3, flipped: boolean): boolean

Implementation of IJointAssembler

Defined in src/modules/kyub.core.plateImport/src/assemblers/FingerJointAssembler.ts:82

Parameters:

Name Type
originGlobalJointDirection Vector3
originGlobalNormal Vector3
destinationGlobalJointDirection Vector3
destinationGlobalNormal Vector3
flipped boolean

Returns: boolean


Static Private _addDelta

_addDelta(delta: Vector3, anchor: ArbitraryTransformsAnchor): void

Defined in src/modules/kyub.core.plateImport/src/assemblers/FingerJointAssembler.ts:66

Parameters:

Name Type
delta Vector3
anchor ArbitraryTransformsAnchor

Returns: void


Static Private _calculateRotation

_calculateRotation(operation: CombineOperation, destinationMesh: IAssemblingSvgSurface): Quaternion

Defined in src/modules/kyub.core.plateImport/src/assemblers/FingerJointAssembler.ts:27

Parameters:

Name Type
operation CombineOperation
destinationMesh IAssemblingSvgSurface

Returns: Quaternion


Static Private _calculateTranslation

_calculateTranslation(operation: CombineOperation, totalRotation: Quaternion): Vector3

Defined in src/modules/kyub.core.plateImport/src/assemblers/FingerJointAssembler.ts:13

Parameters:

Name Type
operation CombineOperation
totalRotation Quaternion

Returns: Vector3


Static Private _computeOrthogonalRotation

_computeOrthogonalRotation(direction: Vector3, rotation: number): Quaternion

Defined in src/modules/kyub.core.plateImport/src/assemblers/FingerJointAssembler.ts:71

Parameters:

Name Type
direction Vector3
rotation number

Returns: Quaternion


Static Private _getEdgeNormal

_getEdgeNormal(edgeDirection: Vector3): Vector3

Defined in src/modules/kyub.core.plateImport/src/assemblers/FingerJointAssembler.ts:76

Parameters:

Name Type
edgeDirection Vector3

Returns: Vector3