53 lines
1023 B
Markdown
53 lines
1023 B
Markdown
[Planck.js API Doc](../README.md) › [Globals](../globals.md) › [ClipVertex](clipvertex.md)
|
||
|
||
# Class: ClipVertex
|
||
|
||
Used for computing contact manifolds.
|
||
|
||
## Hierarchy
|
||
|
||
* **ClipVertex**
|
||
|
||
## Index
|
||
|
||
### Properties
|
||
|
||
* [id](clipvertex.md#id)
|
||
* [v](clipvertex.md#v)
|
||
|
||
### Methods
|
||
|
||
* [set](clipvertex.md#set)
|
||
|
||
## Properties
|
||
|
||
### id
|
||
|
||
• **id**: *[ContactID](contactid.md)‹›* = new ContactID()
|
||
|
||
*Defined in [src/collision/Manifold.ts:312](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/Manifold.ts#L312)*
|
||
|
||
___
|
||
|
||
### v
|
||
|
||
• **v**: *[Vec2](vec2.md)‹›* = Vec2.zero()
|
||
|
||
*Defined in [src/collision/Manifold.ts:311](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/Manifold.ts#L311)*
|
||
|
||
## Methods
|
||
|
||
### set
|
||
|
||
▸ **set**(`o`: [ClipVertex](clipvertex.md)): *void*
|
||
|
||
*Defined in [src/collision/Manifold.ts:314](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/Manifold.ts#L314)*
|
||
|
||
**Parameters:**
|
||
|
||
Name | Type |
|
||
------ | ------ |
|
||
`o` | [ClipVertex](clipvertex.md) |
|
||
|
||
**Returns:** *void*
|