Beispiel #1
0
 public LineMagnet(Vector3 position, Vector3 direction, LineMagnetType type)
     : base(position)
 {
     this.direction = direction;
     this.type = type;
     line = null;
 }
Beispiel #2
0
 public LineMagnet(Canguro.Model.LineElement line)
     : base(line.I.Position)
 {
     this.direction = line.J.Position - line.I.Position;
     this.type = LineMagnetType.FollowProjection;
     this.line = line;
 }
Beispiel #3
0
 public LineMagnet(Canguro.Model.LineElement line) : base(line.I.Position)
 {
     this.direction = line.J.Position - line.I.Position;
     this.type      = LineMagnetType.FollowProjection;
     this.line      = line;
 }
Beispiel #4
0
 public LineMagnet(Vector3 position, Vector3 direction, LineMagnetType type) : base(position)
 {
     this.direction = direction;
     this.type      = type;
     line           = null;
 }
Beispiel #5
0
 public void PaintLine(Device device, Canguro.Model.LineElement line)
 {
     PaintLine(device, line.I.Position, line.J.Position);
 }