Dart Documentationsystem_particlesSegment

Segment class

class Segment {
 final Particles ps;
 final int i1;
 final int i2;
 int collide = 0;

 Segment(this.ps, this.i1, this.i2, [this.collide = 0]);
}

Constructors

new Segment(Particles ps, int i1, int i2, [int collide = 0]) #

Creates a new Object instance.

Object instances have no meaningful state, and are only useful through their identity. An Object instance is equal to itself only.

docs inherited from Object
Segment(this.ps, this.i1, this.i2, [this.collide = 0]);

Properties

int collide #

int collide = 0

final int i1 #

final int i1

final int i2 #

final int i2

final Particles ps #

final Particles ps