/* * / public bool isUnitUSsurveyFoot { get { return thisUnit == Unit.SurveyFoot; } set { thisUnit = Unit.SurveyFoot; } } public bool isUnitFoot { get; set; } public bool isUnitMeter { get; set; } private enum Unit{Meter, Foot, SurveyFoot} private HorizontalAlignmentBase.Unit thisUnit { get; set; } /* */ public virtual void drawHorizontalByOffset(IPersistantDrawer_Cogo drawer, StationOffsetElevation soe1, StationOffsetElevation soe2) { }
public override void drawHorizontalByOffset(IPersistantDrawer_Cogo drawer, StationOffsetElevation soe1, StationOffsetElevation soe2) { ptsPoint startPoint = this.getXYZcoordinates(soe1); ptsPoint endPoint = this.getXYZcoordinates(soe2); drawer.PlaceLine(this, startPoint, soe1, endPoint, soe2); }