public bool ShouldDeselect(RndfEditor.Display.Utilities.IDisplayObject newSelection) { throw new Exception("The method or operation is not implemented."); }
public override void InMove(UrbanChallenge.Common.Coordinates orig, UrbanChallenge.Common.Coordinates offset, RndfEditor.Display.Utilities.WorldTransform t) { throw new Exception("The method or operation is not implemented."); }
public void Render(System.Drawing.Graphics g, RndfEditor.Display.Utilities.WorldTransform t) { // draw the sparse polygon of the selected if (this.Toolbox.Partition != null) { DrawingUtility.DrawControlPolygon( this.Toolbox.Partition.SparsePolygon, Color.DarkSeaGreen, System.Drawing.Drawing2D.DashStyle.Solid, g, t); foreach (Coordinates c in this.Toolbox.Partition.SparsePolygon) { DrawingUtility.DrawControlPoint(c, Color.DarkSeaGreen, null, ContentAlignment.MiddleCenter, ControlPointStyle.SmallX, g, t); } foreach (Coordinates c in this.Toolbox.tmpPolyCoords) { DrawingUtility.DrawControlPoint(c, Color.DarkViolet, null, ContentAlignment.MiddleCenter, ControlPointStyle.SmallCircle, g, t); } if (this.Toolbox.tmpPolyCoords.Count > 1) { for (int i = 0; i < this.Toolbox.tmpPolyCoords.Count - 1; i++) { DrawingUtility.DrawControlLine(this.Toolbox.tmpPolyCoords[i], this.Toolbox.tmpPolyCoords[i + 1], g, t, null, Color.DarkViolet); } } } }
public RndfEditor.Display.Utilities.HitTestResult HitTest(UrbanChallenge.Common.Coordinates loc, float tol, RndfEditor.Display.Utilities.WorldTransform wt, RndfEditor.Display.Utilities.DisplayObjectFilter filter) { return new HitTestResult(this, false, float.MaxValue); }
public System.Drawing.RectangleF GetBoundingBox(RndfEditor.Display.Utilities.WorldTransform wt) { return new RectangleF(); }
public override void InMove(UrbanChallenge.Common.Coordinates orig, UrbanChallenge.Common.Coordinates offset, RndfEditor.Display.Utilities.WorldTransform t) { this.VehicleState.Position = orig + offset; }
public override void BeginMove(UrbanChallenge.Common.Coordinates orig, RndfEditor.Display.Utilities.WorldTransform t) { }