Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Move"/> class, with an "old" position that
 /// corresponds to it's current position.
 /// </summary>
 /// <param name="feature">The point feature that is being moved.</param>
 internal Move(PointFeature feature)
 {
     m_Feature     = feature;
     m_OldPosition = new PointGeometry(feature.PointGeometry);
 }
Example #2
0
 /// <summary>
 /// Creates new <c>SpanInfo</c> with everything set to null.
 /// </summary>
 internal SpanInfo()
 {
     m_Distance = null;
     m_Feature  = null;
     m_Switches = LegItemFlag.Null;
 }