Skip to content

editorGlobalsSingleDirection

Class: SingleDirection

Hierarchy

  • SingleDirection

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

+ new SingleDirection(direction: Vector3, plateSides: PlateSides): SingleDirection

Defined in src/model/data/Joints/Directions/SingleDirection.ts:9

Parameters:

Name Type
direction Vector3
plateSides PlateSides

Returns: SingleDirection

Properties

Private Readonly direction

direction: Vector3

Defined in src/model/data/Joints/Directions/SingleDirection.ts:8


Private Readonly plateSides

plateSides: PlateSides

Defined in src/model/data/Joints/Directions/SingleDirection.ts:9

Methods

containsDirection

containsDirection(direction: Vector3): boolean

Implementation of IDirectionSpace

Defined in src/model/data/Joints/Directions/SingleDirection.ts:31

Parameters:

Name Type
direction Vector3

Returns: boolean


exampleDirection

exampleDirection(): Vector3

Implementation of IDirectionSpace

Defined in src/model/data/Joints/Directions/SingleDirection.ts:16

Returns: Vector3


getPlateSides

getPlateSides(): PlateSides

Implementation of IDirectionSpace

Defined in src/model/data/Joints/Directions/SingleDirection.ts:35

Returns: PlateSides


intersectWith

intersectWith(other: IDirectionSpace): IDirectionSpace

Implementation of IDirectionSpace

Defined in src/model/data/Joints/Directions/SingleDirection.ts:24

Parameters:

Name Type
other IDirectionSpace

Returns: IDirectionSpace


isEmpty

isEmpty(): boolean

Implementation of IDirectionSpace

Defined in src/model/data/Joints/Directions/SingleDirection.ts:20

Returns: boolean