public static Geometry MCIndexNoding(Geometry geom, double scaleFactor)
{
List segs = createNodedSegmentStrings(geom);
PrecisionModel fixedPM = new PrecisionModel(scaleFactor);
Noder noder = new MCIndexNoder(new IntersectionAdder(new RobustLineIntersector()));
noder.computeNodes(segs);
Collection nodedSegStrings = noder.getNodedSubstrings();
return fromSegmentStrings(nodedSegStrings);
}