/** * Creates a line with endpoints at the given positions. * * @param pointOne * The position of the first point. This position will be copied * and stored as a {@code double[]}. This is the position which * will be returned by {@link #endpointOne()}. * @param pointTwo * The position of the second point. This position will be copied * and stored as a {@code double[]}. This is the position which * will be returned by {@link #endpointTwo()}. */ public DefaultWritableLine( final RealLocalizable pointOne, final RealLocalizable pointTwo ) { this( createArray( pointOne ), createArray( pointTwo ), false ); }