53 lines
1023 B
Markdown
Raw Permalink Normal View History

2021-04-16 17:10:15 +02:00
[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()
2021-04-16 17:10:15 +02:00
2021-05-11 18:30:36 -07:00
*Defined in [src/collision/Manifold.ts:312](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/Manifold.ts#L312)*
2021-04-16 17:10:15 +02:00
___
### v
• **v**: *[Vec2](vec2.md)‹›* = Vec2.zero()
2021-04-16 17:10:15 +02:00
2021-05-11 18:30:36 -07:00
*Defined in [src/collision/Manifold.ts:311](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/Manifold.ts#L311)*
2021-04-16 17:10:15 +02:00
## Methods
### set
2021-05-11 18:30:36 -07:00
▸ **set**(`o`: [ClipVertex](clipvertex.md)): *void*
2021-04-16 17:10:15 +02:00
2021-05-11 18:30:36 -07:00
*Defined in [src/collision/Manifold.ts:314](https://github.com/shakiba/planck.js/blob/acc3bd8/src/collision/Manifold.ts#L314)*
2021-04-16 17:10:15 +02:00
**Parameters:**
Name | Type |
------ | ------ |
2021-05-11 18:30:36 -07:00
`o` | [ClipVertex](clipvertex.md) |
2021-04-16 17:10:15 +02:00
**Returns:** *void*