PreparedGeometry prepGeom = pgFact.create(g1);
return prepGeom.intersects(g2);
}
public static boolean contains(Geometry g1, Geometry g2)
{
PreparedGeometryFactory pgFact = new PreparedGeometryFactory();
PreparedGeometry prepGeom = pgFact.create(g1);
return prepGeom.contains(g2);
}