public void test_StartPoint() { LineString ls = SimpleOpen(); Coordinate coord = new Coordinate(0, 0); Coordinate coord2 = new Coordinate(1.0, 1.0); GeometryFactory gf = new GeometryFactory(_precMod, _sRID); Point point = gf.CreatePoint(coord); Point point2 = gf.CreatePoint(coord2); Point point3 = gf.CreatePoint(coord); point = ls.GetStartPoint() as Point; Assertion.AssertEquals("StartPoint-1: ", true, point.Equals(point2)); Assertion.AssertEquals("StartPoint-2: ", false, point.Equals(point3)); }