DCS volume segment

From DCS World Wiki - Hoggitworld.com

Scripting Root

Enumerator: segment Added with: 1.2.0
Description: The segment volume is used to define a search area for the functions using a volume. It draws a line segment between two vec3 coordinates.
Uses: world.searchObjects and world.removeJunk
Format: The following is the
  {
  id = world.VolumeType.SEGMENT,
  params = {
    from = Vec3,
    to = Vec3
  }
 }
constants: N/A
notes: Volumes: segment, box, sphere, pyramid