double[] toPosition, double startPar) {
if (fromPosition == null || toPosition == null)
throw new IllegalArgumentException("Start or End parameter is null"); //$NON-NLS-1$;
if (fromPosition.length != toPosition.length)
throw new MismatchedDimensionException();
return createLineSegment(
this.createPosition(fromPosition),
this.createPosition(toPosition),
startPar);