/// <summary> /// Executes the new point operation. /// </summary> /// <param name="vtx">The position of the new point.</param> /// <param name="e">The entity type for the point (not null)</param> /// <param name="pointId">The ID to assign to the new point</param> internal void Execute(IPosition vtx, IEntity e, FeatureId pointId) { // Add a point on the model m_NewPoint = MapModel.AddPoint(vtx, e, this); // Give the new point the specified ID (point the ID to the feature & vice versa) if (pointId != null) { pointId.Add(m_NewPoint); } // Peform standard completion steps Complete(); }