/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef <LineFeature>(DataField.Line1, m_Line1); editSerializer.WriteFeatureRef <LineFeature>(DataField.Line2, m_Line2); editSerializer.WriteFeatureRef <PointFeature>(DataField.CloseTo, m_CloseTo); editSerializer.WritePersistent <FeatureStub>(DataField.To, new FeatureStub(m_Intersection)); if (m_Line1a != null) { editSerializer.WriteInternalId(DataField.SplitBefore1, m_Line1a.InternalId); } if (m_Line1b != null) { editSerializer.WriteInternalId(DataField.SplitAfter1, m_Line1b.InternalId); } if (m_Line2a != null) { editSerializer.WriteInternalId(DataField.SplitBefore2, m_Line2a.InternalId); } if (m_Line2b != null) { editSerializer.WriteInternalId(DataField.SplitAfter2, m_Line2b.InternalId); } }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef <LineFeature>(DataField.RefLine, m_RefLine); if (m_Term1 != null) { editSerializer.WriteFeatureRef <LineFeature>(DataField.Term1, m_Term1); } if (m_Term2 != null) { editSerializer.WriteFeatureRef <LineFeature>(DataField.Term2, m_Term2); } if (IsArcReversed) { editSerializer.WriteBool(DataField.ReverseArc, true); } editSerializer.WritePersistent <Observation>(DataField.Offset, m_Offset); if (m_ParLine.StartPoint != OffsetPoint) { editSerializer.WritePersistent <FeatureStub>(DataField.From, new FeatureStub(m_ParLine.StartPoint)); } if (m_ParLine.EndPoint != OffsetPoint) { editSerializer.WritePersistent <FeatureStub>(DataField.To, new FeatureStub(m_ParLine.EndPoint)); } editSerializer.WritePersistent <FeatureStub>(DataField.NewLine, new FeatureStub(m_ParLine)); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef <PointFeature>(DataField.Backsight, m_Backsight); editSerializer.WriteFeatureRef <PointFeature>(DataField.From, m_From); editSerializer.WriteRadians(DataField.Value, m_Observation); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef <PointFeature>(DataField.From, m_From); editSerializer.WriteFeatureRef <PointFeature>(DataField.Start, m_Par1); editSerializer.WriteFeatureRef <PointFeature>(DataField.End, m_Par2); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef <PointFeature>(DataField.From, m_From); editSerializer.WriteFeatureRef <PointFeature>(DataField.To, m_To); editSerializer.WriteString(DataField.EntryString, m_EntryString); editSerializer.WriteDistanceUnit(DataField.DefaultEntryUnit, m_DefaultEntryUnit); editSerializer.WriteEntity(DataField.PointType, EditingController.Current.Project.DefaultPointType); editSerializer.WriteEntity(DataField.LineType, EditingController.Current.Project.DefaultLineType); editSerializer.WriteIdMappings(DataField.Ids, this.Features); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef <LineFeature>(DataField.Line, m_Line); editSerializer.WriteUInt32(DataField.PositionRatio, m_PositionRatio); editSerializer.WritePersistent <FeatureStub>(DataField.Point, new FeatureStub(m_Point)); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef <LineFeature>(DataField.Line, m_Line); editSerializer.WritePersistent <Distance>(DataField.Distance, m_Distance); editSerializer.WriteBool(DataField.EntryFromEnd, m_IsFromEnd); editSerializer.WritePersistent <FeatureStub>(DataField.NewPoint, new FeatureStub(m_NewPoint)); editSerializer.WriteInternalId(DataField.NewLine1, m_NewLine1.InternalId); editSerializer.WriteInternalId(DataField.NewLine2, m_NewLine2.InternalId); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); if (m_Label != null) { editSerializer.WriteFeatureRef <TextFeature>(DataField.DeactivatedLabel, m_Label); } editSerializer.WritePersistentArray <LineFeature>(DataField.Lines, m_Lines); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef <TextFeature>(DataField.Label, m_Label); editSerializer.WritePointGeometry(DataField.NewX, DataField.NewY, m_NewPosition); if (m_OldPosition != null) { editSerializer.WritePointGeometry(DataField.OldX, DataField.OldY, m_OldPosition); } }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WritePersistent <Observation>(DataField.Distance1, m_Distance1); editSerializer.WriteFeatureRef <PointFeature>(DataField.From1, m_From1); editSerializer.WritePersistent <Observation>(DataField.Distance2, m_Distance2); editSerializer.WriteFeatureRef <PointFeature>(DataField.From2, m_From2); editSerializer.WriteBool(DataField.Default, m_Default); editSerializer.WritePersistent <FeatureStub>(DataField.To, new FeatureStub(m_To)); if (m_Line1 != null) { editSerializer.WritePersistent <FeatureStub>(DataField.Line1, new FeatureStub(m_Line1)); } if (m_Line2 != null) { editSerializer.WritePersistent <FeatureStub>(DataField.Line2, new FeatureStub(m_Line2)); } }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef <LineFeature>(DataField.Line, m_ExtendLine); editSerializer.WriteBool(DataField.ExtendFromEnd, m_IsExtendFromEnd); editSerializer.WritePersistent <Distance>(DataField.Distance, m_Length); editSerializer.WritePersistent <FeatureStub>(DataField.NewPoint, new FeatureStub(m_NewPoint)); if (m_NewLine != null) { editSerializer.WritePersistent <FeatureStub>(DataField.NewLine, new FeatureStub(m_NewLine)); } }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WritePersistent <Direction>(DataField.Direction, m_Direction); editSerializer.WriteFeatureRef <LineFeature>(DataField.Line, m_Line); editSerializer.WriteFeatureRef <PointFeature>(DataField.CloseTo, m_CloseTo); editSerializer.WritePersistent <FeatureStub>(DataField.To, new FeatureStub(m_Intersection)); if (m_DirLine != null) { editSerializer.WritePersistent <FeatureStub>(DataField.DirLine, new FeatureStub(m_DirLine)); } if (m_LineA != null) { editSerializer.WriteInternalId(DataField.SplitBefore, m_LineA.InternalId); } if (m_LineB != null) { editSerializer.WriteInternalId(DataField.SplitAfter, m_LineB.InternalId); } }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef <LineFeature>(DataField.Line, m_Line); editSerializer.WritePersistent <LineSubdivisionFace>(DataField.Face, m_Face); // When we initially write the primary face, this will always be undefined. Only the // alternate face will write out the reference to the other side. if (OtherSide != null) { editSerializer.WriteInternalId(DataField.OtherSide, OtherSide.InternalId); } editSerializer.WriteEntity(DataField.PointType, EditingController.Current.Project.DefaultPointType); editSerializer.WriteIdMappings(DataField.Ids, this.Features); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WritePersistent <Direction>(DataField.Direction, m_Direction); editSerializer.WritePersistent <Observation>(DataField.Distance, m_Distance); editSerializer.WriteFeatureRef <PointFeature>(DataField.From, m_From); editSerializer.WriteBool(DataField.Default, m_Default); editSerializer.WritePersistent <FeatureStub>(DataField.To, new FeatureStub(m_To)); if (m_DirLine != null) { editSerializer.WritePersistent <FeatureStub>(DataField.DirLine, new FeatureStub(m_DirLine)); } if (m_DistLine != null) { editSerializer.WritePersistent <FeatureStub>(DataField.DistLine, new FeatureStub(m_DistLine)); } }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef <PointFeature>(DataField.Center, m_Center); editSerializer.WritePersistent <Observation>(DataField.Radius, m_Radius); // Record a closing point only if it was created by this edit -- in that case, the radius must // be a plain Distance (if the radius is defined using an OffsetPoint observation, the closing // point will coincide with the offset point itself -- we don't have to write anything further, // because the reference to the offset point is part of the observation object written above). if (Line.StartPoint.Creator == this) { Debug.Assert(m_Radius is Distance); editSerializer.WritePersistent <FeatureStub>(DataField.ClosingPoint, new FeatureStub(Line.StartPoint)); } else { Debug.Assert(m_Radius is OffsetPoint); } editSerializer.WritePersistent <FeatureStub>(DataField.Arc, new FeatureStub(Line)); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); if (m_Label != null) editSerializer.WriteFeatureRef<TextFeature>(DataField.DeactivatedLabel, m_Label); editSerializer.WritePersistentArray<LineFeature>(DataField.Lines, m_Lines); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { editSerializer.WriteFeatureRef<LineFeature>(DataField.Base, m_Base); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef<PointFeature>(DataField.From, m_From); editSerializer.WriteFeatureRef<PointFeature>(DataField.To, m_To); editSerializer.WriteBool(DataField.Topological, IsTopological); // For simple line segments (perhaps 80% of the case when dealing with cadastral // data), we already have what we need with the from & to points. if (!(m_Geom is SegmentGeometry)) editSerializer.WritePersistent<LineGeometry>(DataField.Type, m_Geom); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef<LineFeature>(DataField.Line1, m_Line1); editSerializer.WriteFeatureRef<LineFeature>(DataField.Line2, m_Line2); editSerializer.WriteFeatureRef<PointFeature>(DataField.CloseTo, m_CloseTo); editSerializer.WritePersistent<FeatureStub>(DataField.To, new FeatureStub(m_Intersection)); if (m_Line1a != null) editSerializer.WriteInternalId(DataField.SplitBefore1, m_Line1a.InternalId); if (m_Line1b != null) editSerializer.WriteInternalId(DataField.SplitAfter1, m_Line1b.InternalId); if (m_Line2a != null) editSerializer.WriteInternalId(DataField.SplitBefore2, m_Line2a.InternalId); if (m_Line2b != null) editSerializer.WriteInternalId(DataField.SplitAfter2, m_Line2b.InternalId); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef<TextFeature>(DataField.Label, m_Label); editSerializer.WritePointGeometry(DataField.NewX, DataField.NewY, m_NewPosition); if (m_OldPosition != null) editSerializer.WritePointGeometry(DataField.OldX, DataField.OldY, m_OldPosition); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WritePersistent<Observation>(DataField.Distance1, m_Distance1); editSerializer.WriteFeatureRef<PointFeature>(DataField.From1, m_From1); editSerializer.WritePersistent<Observation>(DataField.Distance2, m_Distance2); editSerializer.WriteFeatureRef<PointFeature>(DataField.From2, m_From2); editSerializer.WriteBool(DataField.Default, m_Default); editSerializer.WritePersistent<FeatureStub>(DataField.To, new FeatureStub(m_To)); if (m_Line1 != null) editSerializer.WritePersistent<FeatureStub>(DataField.Line1, new FeatureStub(m_Line1)); if (m_Line2 != null) editSerializer.WritePersistent<FeatureStub>(DataField.Line2, new FeatureStub(m_Line2)); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef<LineFeature>(DataField.Line, m_Line); editSerializer.WriteUInt32(DataField.PositionRatio, m_PositionRatio); editSerializer.WritePersistent<FeatureStub>(DataField.Point, new FeatureStub(m_Point)); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WritePersistent<Direction>(DataField.Direction, m_Direction); editSerializer.WriteFeatureRef<LineFeature>(DataField.Line, m_Line); editSerializer.WriteFeatureRef<PointFeature>(DataField.CloseTo, m_CloseTo); editSerializer.WritePersistent<FeatureStub>(DataField.To, new FeatureStub(m_Intersection)); if (m_DirLine != null) editSerializer.WritePersistent<FeatureStub>(DataField.DirLine, new FeatureStub(m_DirLine)); if (m_LineA != null) editSerializer.WriteInternalId(DataField.SplitBefore, m_LineA.InternalId); if (m_LineB != null) editSerializer.WriteInternalId(DataField.SplitAfter, m_LineB.InternalId); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef<LineFeature>(DataField.Line, m_Line); editSerializer.WriteBool(DataField.Topological, m_Topological); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef<LineFeature>(DataField.Line, m_Line); editSerializer.WritePersistent<Distance>(DataField.Distance, m_Distance); editSerializer.WriteBool(DataField.EntryFromEnd, m_IsFromEnd); editSerializer.WritePersistent<FeatureStub>(DataField.NewPoint, new FeatureStub(m_NewPoint)); editSerializer.WriteInternalId(DataField.NewLine1, m_NewLine1.InternalId); editSerializer.WriteInternalId(DataField.NewLine2, m_NewLine2.InternalId); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef<LineFeature>(DataField.Line, m_ExtendLine); editSerializer.WriteBool(DataField.ExtendFromEnd, m_IsExtendFromEnd); editSerializer.WritePersistent<Distance>(DataField.Distance, m_Length); editSerializer.WritePersistent<FeatureStub>(DataField.NewPoint, new FeatureStub(m_NewPoint)); if (m_NewLine != null) editSerializer.WritePersistent<FeatureStub>(DataField.NewLine, new FeatureStub(m_NewLine)); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef<PointFeature>(DataField.From, m_From); editSerializer.WriteFeatureRef<PointFeature>(DataField.Start, m_Par1); editSerializer.WriteFeatureRef<PointFeature>(DataField.End, m_Par2); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef<PointFeature>(DataField.Center, m_Center); editSerializer.WritePersistent<Observation>(DataField.Radius, m_Radius); // Record a closing point only if it was created by this edit -- in that case, the radius must // be a plain Distance (if the radius is defined using an OffsetPoint observation, the closing // point will coincide with the offset point itself -- we don't have to write anything further, // because the reference to the offset point is part of the observation object written above). if (Line.StartPoint.Creator == this) { Debug.Assert(m_Radius is Distance); editSerializer.WritePersistent<FeatureStub>(DataField.ClosingPoint, new FeatureStub(Line.StartPoint)); } else { Debug.Assert(m_Radius is OffsetPoint); } editSerializer.WritePersistent<FeatureStub>(DataField.Arc, new FeatureStub(Line)); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { editSerializer.WriteFeatureRef<PointFeature>(DataField.Point, m_Point); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { editSerializer.WriteFeatureRef <PointFeature>(DataField.Point, m_Point); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef<PointFeature>(DataField.From, m_From); editSerializer.WriteFeatureRef<PointFeature>(DataField.To, m_To); editSerializer.WriteString(DataField.EntryString, m_EntryString); editSerializer.WriteDistanceUnit(DataField.DefaultEntryUnit, m_DefaultEntryUnit); editSerializer.WriteEntity(DataField.PointType, EditingController.Current.Project.DefaultPointType); editSerializer.WriteEntity(DataField.LineType, EditingController.Current.Project.DefaultLineType); editSerializer.WriteIdMappings(DataField.Ids, this.Features); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WritePersistent<Direction>(DataField.Direction, m_Direction); editSerializer.WritePersistent<Observation>(DataField.Distance, m_Distance); editSerializer.WriteFeatureRef<PointFeature>(DataField.From, m_From); editSerializer.WriteBool(DataField.Default, m_Default); editSerializer.WritePersistent<FeatureStub>(DataField.To, new FeatureStub(m_To)); if (m_DirLine != null) editSerializer.WritePersistent<FeatureStub>(DataField.DirLine, new FeatureStub(m_DirLine)); if (m_DistLine != null) editSerializer.WritePersistent<FeatureStub>(DataField.DistLine, new FeatureStub(m_DistLine)); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef <LineFeature>(DataField.Line, m_Line); editSerializer.WriteBool(DataField.Topological, m_Topological); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef<LineFeature>(DataField.Line, m_Line); editSerializer.WritePersistent<LineSubdivisionFace>(DataField.Face, m_Face); // When we initially write the primary face, this will always be undefined. Only the // alternate face will write out the reference to the other side. if (OtherSide != null) editSerializer.WriteInternalId(DataField.OtherSide, OtherSide.InternalId); editSerializer.WriteEntity(DataField.PointType, EditingController.Current.Project.DefaultPointType); editSerializer.WriteIdMappings(DataField.Ids, this.Features); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { base.WriteData(editSerializer); editSerializer.WriteFeatureRef<PointFeature>(DataField.Backsight, m_Backsight); editSerializer.WriteFeatureRef<PointFeature>(DataField.From, m_From); editSerializer.WriteRadians(DataField.Value, m_Observation); }
/// <summary> /// Writes the content of this instance to a persistent storage area. /// </summary> /// <param name="editSerializer">The mechanism for storing content.</param> public override void WriteData(EditSerializer editSerializer) { editSerializer.WriteBool(DataField.Clockwise, m_IsClockwise); // If the circle's first arc has geometry that corresponds to this instance, write // out the circle center point. Otherwise refer to the first arc (we'll get the // circle geometry from there). if (Object.ReferenceEquals(m_Circle.FirstArc.Geometry, this)) editSerializer.WriteFeatureRef<PointFeature>(DataField.Center, m_Circle.CenterPoint); else editSerializer.WriteFeatureRef<ArcFeature>(DataField.FirstArc, m_Circle.FirstArc); }