DisDetonation

DisDetonation inherits DisPdu
DisDetonation.FiringEntity
DisDetonation.TargetEntity
DisDetonation.WeaponEntity
DisDetonation.Event
DisDetonation.Velocity
DisDetonation.Location
DisDetonation.WeaponType
DisDetonation.Warhead
DisDetonation.Fuse
DisDetonation.Quantity
DisDetonation.Rate
DisDetonation.DetonationResult
DisDetonation.ImpactLocation

Overview

DisDetonation is an implementation of the DIS detonation PDU. Detonation PDUs are used to indicate that a munition has detonated.

Methods

DisEntityId FiringEntity()

Returns the ID of the platform that fired the munition.

DisEntityId TargetEntity()

Returns the ID of the platform that is fired upon.

DisEntityId WeaponEntity()

Returns the ID of the platform representing the munition.

DisEventId Event()

Returns the event ID. The event ID on the detonation PDU should be the same as one on the DisFire.

Array<double> Velocity()

Returns the velocity of the munition at the time of detonation. The velocity is in meters per second with respect to earth centric coordinates.

Array<double> Location()

Returns the location of the munition at the time of detonation. The location is in earth centered meters.

DisEntityType WeaponType()

Return the type of munition.

int Warhead()

Returns the warhead ID.

int Fuse()

Returns the fuse ID.

int Quantity()

Returns the quantity of munitions.

int Rate()

Returns the rate of detonation.

int DetonationResult()

Returns the predicted detonation result ID.

Array<double> ImpactLocation()

Returns the location of impact in the target’s body coordinate system.