calculates the length between the given control point indices . important note : see the javadoc for the #getapproximatelength int method for important information . concode_field_sep Spline _spline concode_elem_sep List<ReadOnlyVector3> _controlPoints concode_field_sep Point toRenderablePoint concode_elem_sep Point toRenderablePoint concode_elem_sep int getControlPointCount concode_elem_sep void setSpline concode_elem_sep Line toRenderableLine concode_elem_sep Line toRenderableLine concode_elem_sep List<ReadOnlyVector3> getControlPoints concode_elem_sep Spline getSpline concode_elem_sep ReadOnlyVector3 interpolate concode_elem_sep ReadOnlyVector3 interpolate concode_elem_sep Vector3[] toVector3 concode_elem_sep void setControlPoints
double function ( final int arg0 , final int arg1 , final int arg2 ) { double loc0 = 0.0 ; final Vector3 [ ] loc1 = toVector3 ( arg0 , arg1 , arg2 ) ; for ( int loc2 = 0 ; loc2 < ( loc1 . loc0 - 1 ) ; loc2 ++ ) { loc0 += loc1 [ loc2 ] . distance ( loc1 [ loc2 + 1 ] ) ; } return loc0 ; }