From: <ha...@us...> - 2011-11-21 02:35:54
|
Revision: 16500 http://jmol.svn.sourceforge.net/jmol/?rev=16500&view=rev Author: hansonr Date: 2011-11-21 02:35:48 +0000 (Mon, 21 Nov 2011) Log Message: ----------- Modified Paths: -------------- trunk/Jmol/src/org/jmol/adapter/readers/simple/ZMatrixReader.java Modified: trunk/Jmol/src/org/jmol/adapter/readers/simple/ZMatrixReader.java =================================================================== --- trunk/Jmol/src/org/jmol/adapter/readers/simple/ZMatrixReader.java 2011-11-21 02:32:24 UTC (rev 16499) +++ trunk/Jmol/src/org/jmol/adapter/readers/simple/ZMatrixReader.java 2011-11-21 02:35:48 UTC (rev 16500) @@ -338,10 +338,8 @@ } else { // theta1 and theta2 are simple angles atom-ia-ib and atom-ia-ic // get vector that is intersection of two planes and go from there - setAtom(atom, ia, ib, ic, -d, theta1, 0); - Measure.getPlaneThroughPoint(atom, v1, plane1); - Point3f pta2 = new Point3f(setAtom(atom, ia, ic, ib, -d, theta2, 0)); - Measure.getPlaneThroughPoint(pta2, v1, plane2); + Measure.getPlaneThroughPoint(setAtom(atom, ia, ib, ic, -d, theta1, 0), v1, plane1); + Measure.getPlaneThroughPoint(setAtom(atom, ia, ic, ib, -d, theta2, 0), v1, plane2); List<Object> list = Measure.getIntersection(plane1, plane2); if (list.size() == 0) return null; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |