Table of Contents

Class JointCollection

Namespace
Alis.Core.Physic.Dynamics
Assembly
Alis.dll

The joint collection class

public class JointCollection : IList<Joint>, ICollection<Joint>, IEnumerable<Joint>, IEnumerable

Inheritance

Implements

Inherited Members

Constructors

JointCollection(World)

Initializes a new instance of the Alis.Core.Physic.Dynamics.JointCollection class

public JointCollection(World world)

Parameters

world World

The world

Fields

_generationStamp

The generation stamp

internal int _generationStamp

Field Value

int

_list

The joint

internal readonly List<Joint> _list

Field Value

List<Joint>

_world

The world

private readonly World _world

Field Value

World

Properties

Count

Gets the value of the count

public int Count { get; }

Property Value

int

IsReadOnly

Gets the value of the is read only

public bool IsReadOnly { get; }

Property Value

bool

this[int]

The not supported exception

public Joint this[int index] { get; set; }

Property Value

Joint

Methods

Contains(Joint)

Describes whether this instance contains

public bool Contains(Joint item)

Parameters

item Joint

The item

Returns

bool

The bool

CopyTo(Joint[], int)

Copies the to using the specified array

public void CopyTo(Joint[] array, int arrayIndex)

Parameters

array Joint[]

The array

arrayIndex int

The array index

GetEnumerator()

Gets the enumerator

public JointCollection.JointEnumerator GetEnumerator()

Returns

JointCollection.JointEnumerator

The joint enumerator

IndexOf(Joint)

Indexes the of using the specified item

public int IndexOf(Joint item)

Parameters

item Joint

The item

Returns

int

The int

ICollection<Joint>.Add(Joint)

Adds the item

void ICollection<Joint>.Add(Joint item)

Parameters

item Joint

The item

Exceptions

NotSupportedException

ICollection<Joint>.Clear()

Clears this instance

void ICollection<Joint>.Clear()

Exceptions

NotSupportedException

ICollection<Joint>.Remove(Joint)

Describes whether this instance remove

bool ICollection<Joint>.Remove(Joint item)

Parameters

item Joint

The item

Returns

bool

The bool

IEnumerable<Joint>.GetEnumerator()

Gets the enumerator

IEnumerator<Joint> IEnumerable<Joint>.GetEnumerator()

Returns

IEnumerator<Joint>

An enumerator of joint

IList<Joint>.Insert(int, Joint)

Inserts the index

void IList<Joint>.Insert(int index, Joint item)

Parameters

index int

The index

item Joint

The item

Exceptions

NotSupportedException

IList<Joint>.RemoveAt(int)

Removes the at using the specified index

void IList<Joint>.RemoveAt(int index)

Parameters

index int

The index

Exceptions

NotSupportedException

IEnumerable.GetEnumerator()

Gets the enumerator

IEnumerator IEnumerable.GetEnumerator()

Returns

IEnumerator

The enumerator

See Also

IList<T>