/// <summary> /// Point. /// </summary> internal static String ToPoint(NpgsqlNativeTypeInfo TypeInfo, Object NativeData, Boolean ForExtendedQuery) { if (NativeData is NpgsqlPoint) { NpgsqlPoint P = (NpgsqlPoint)NativeData; return(String.Format(CultureInfo.InvariantCulture, "({0},{1})", P.X, P.Y)); } else { throw new InvalidCastException("Unable to cast data to NpgsqlPoint type"); } }
public NpgsqlLSeg(NpgsqlPoint start, NpgsqlPoint end) { Start = start; End = end; }
public NpgsqlCircle(NpgsqlPoint center, Double radius) { Center = center; Radius = radius; }
public NpgsqlBox(NpgsqlPoint upperRight, NpgsqlPoint lowerLeft) { _upperRight = upperRight; _lowerLeft = lowerLeft; }