private void RodLogic(MouseEvent e){
	    	if(e.getButton() == 1){
	    		Point t1 = getMouseLocationOnComp();
    			AttachmentPoint tPoint = GetAttachmentPoint(t1);
    			if(tPoint == null){
    				double[] t2 = {t1.getX(), t1.getY()};
	    			tPoint = new AttachmentPoint(.5, t2);
	    			attachPoints.add(tPoint);
    			}
	    		if(placeRod){
	    			placeRod = false;
	    			tempPointHead = tPoint;
	    		}else{
	    			placeRod = true;
	    			AttachmentRod tRod = new AttachmentRod(.5, tempPointHead, tPoint);
	    			attachRods.add(tRod);
	    			tempPointHead = null;
	    		}
	    	}
	    }