Skip to content

Class: ContactID ​

Contact ids to facilitate warm starting.

ContactFeature: The features that intersect to form the contact point.

Constructors ​

Constructor ​

new ContactID(): ContactID

Returns ​

ContactID

Properties ​

indexA ​

indexA: number = -1

ContactFeature index on shapeA


indexB ​

indexB: number = -1

ContactFeature index on shapeB


key ​

key: number = -1

Used to quickly compare contact ids.


typeA ​

typeA: ContactFeatureType = ContactFeatureType.e_unset

ContactFeature type on shapeA


typeB ​

typeB: ContactFeatureType = ContactFeatureType.e_unset

ContactFeature type on shapeB

Methods ​

recycle() ​

recycle(): void

Returns ​

void


set() ​

set(that): void

Parameters ​

that ​

ContactID

Returns ​

void


setFeatures() ​

setFeatures(indexA, typeA, indexB, typeB): void

Parameters ​

indexA ​

number

typeA ​

ContactFeatureType

indexB ​

number

typeB ​

ContactFeatureType

Returns ​

void


swapFeatures() ​

swapFeatures(): void

Returns ​

void