Table of Contents

Class FixtureCollection

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

The fixture collection class

public class FixtureCollection : IList<Fixture>, ICollection<Fixture>, IEnumerable<Fixture>, IEnumerable

Inheritance

Implements

Inherited Members

Constructors

FixtureCollection(Body)

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

public FixtureCollection(Body body)

Parameters

body Body

The body

Fields

_body

The body

private readonly Body _body

Field Value

Body

_generationStamp

The generation stamp

internal int _generationStamp

Field Value

int

_list

The fixture

internal readonly List<Fixture> _list

Field Value

List<Fixture>

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 Fixture this[int index] { get; set; }

Property Value

Fixture

Methods

Contains(Fixture)

Describes whether this instance contains

public bool Contains(Fixture item)

Parameters

item Fixture

The item

Returns

bool

The bool

CopyTo(Fixture[], int)

Copies the to using the specified array

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

Parameters

array Fixture[]

The array

arrayIndex int

The array index

GetEnumerator()

Gets the enumerator

public FixtureCollection.FixtureEnumerator GetEnumerator()

Returns

FixtureCollection.FixtureEnumerator

The fixture enumerator

IndexOf(Fixture)

Indexes the of using the specified item

public int IndexOf(Fixture item)

Parameters

item Fixture

The item

Returns

int

The int

ICollection<Fixture>.Add(Fixture)

Adds the item

void ICollection<Fixture>.Add(Fixture item)

Parameters

item Fixture

The item

Exceptions

NotSupportedException

ICollection<Fixture>.Clear()

Clears this instance

void ICollection<Fixture>.Clear()

Exceptions

NotSupportedException

ICollection<Fixture>.Remove(Fixture)

Describes whether this instance remove

bool ICollection<Fixture>.Remove(Fixture item)

Parameters

item Fixture

The item

Returns

bool

The bool

IEnumerable<Fixture>.GetEnumerator()

Gets the enumerator

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

Returns

IEnumerator<Fixture>

An enumerator of fixture

IList<Fixture>.Insert(int, Fixture)

Inserts the index

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

Parameters

index int

The index

item Fixture

The item

Exceptions

NotSupportedException

IList<Fixture>.RemoveAt(int)

Removes the at using the specified index

void IList<Fixture>.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>