public AiwPoint(AiwCoordinate coordinate) { if (coordinate == null) { throw new ArgumentNullException("coordinates is null"); } this.Coordinate = coordinate; this.Type = AiwGeometryType.Point; }
public AiwVector(AiwCoordinate coordinate) { if (coordinate == null) { throw new ArgumentNullException("coordinates for vector is null"); } this.Coordinate = coordinate; this.Type = AiwGeometryType.Vector; }