Index: src/Common/SharpMap/Styles/Shapes/cFocalPoints.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/Common/SharpMap/Styles/Shapes/cFocalPoints.cs (.../cFocalPoints.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ src/Common/SharpMap/Styles/Shapes/cFocalPoints.cs (.../cFocalPoints.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -14,39 +14,34 @@ // Methods public cFocalPoints() { - this._CenterPoint = new PointF(0.5f, 0.5f); - this._FocusScales = new PointF(0f, 0f); + _CenterPoint = new PointF(0.5f, 0.5f); + _FocusScales = new PointF(0f, 0f); } public cFocalPoints(PointF ptC, PointF ptF) { - this._CenterPoint = new PointF(0.5f, 0.5f); - this._FocusScales = new PointF(0f, 0f); - this.CenterPoint = ptC; - this.FocusScales = ptF; + _CenterPoint = new PointF(0.5f, 0.5f); + _FocusScales = new PointF(0f, 0f); + CenterPoint = ptC; + FocusScales = ptF; } public cFocalPoints(double Cx, double Cy, double Fx, double Fy) { - this._CenterPoint = new PointF(0.5f, 0.5f); - this._FocusScales = new PointF(0f, 0f); + _CenterPoint = new PointF(0.5f, 0.5f); + _FocusScales = new PointF(0f, 0f); PointF S0 = new PointF((float) Cx, (float) Cy); - this.CenterPoint = S0; + CenterPoint = S0; S0 = new PointF((float) Fx, (float) Fy); - this.FocusScales = S0; + FocusScales = S0; } - public override string ToString() - { - return ("CP=" + this._CenterPoint.ToString() + ", FP=" + this._FocusScales.ToString()); - } - // Properties public PointF CenterPoint { get { - return this._CenterPoint; + return _CenterPoint; } set { @@ -66,15 +61,15 @@ { value.Y = 1f; } - this._CenterPoint = value; + _CenterPoint = value; } } public PointF FocusScales { get { - return this._FocusScales; + return _FocusScales; } set { @@ -94,8 +89,13 @@ { value.Y = 1f; } - this._FocusScales = value; + _FocusScales = value; } } + + public override string ToString() + { + return ("CP=" + _CenterPoint.ToString() + ", FP=" + _FocusScales.ToString()); + } } } \ No newline at end of file