public double getProjectedDistance ( Atom point ) { Atom projected = getProjectedPoint ( point ) ; if ( projected == null ) { // translation only return Double . NaN ; } return Calc . getDistance ( point , projected ) ; }
Get the distance from a point to the axis of rotation