}
public static void extractComponentsToTestCase(Coordinate pt)
{
double toleranceInModel = JTSTestBuilderFrame.getGeometryEditPanel().getToleranceInModel();
LayerList lyrList = JTSTestBuilderFrame.instance().getModel().getLayers();
Geometry comp = lyrList.getComponent(pt, toleranceInModel);
if (comp == null)
return;
JTSTestBuilderFrame.instance().getModel().addCase(new Geometry[] { comp, null });
JTSTestBuilderFrame.instance().updateTestCases();
}