You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Curtis Jensen <cu...@the-jensens.org> on 2011/08/02 18:47:10 UTC

[math] Distance to Line and Line Segments

I see the 3D Line class has a distance to a point method.  Is there
something equivalent for the 2D Line class and the 2D Segment class?

Thanks,
Curtis

Re: [math] Distance to Line and Line Segments

Posted by Curtis Jensen <cu...@the-jensens.org>.
I opened an issue for this.  Thanks Luc!

--
Curtis


On Tue, Aug 2, 2011 at 11:20 AM, Luc Maisonobe <Lu...@free.fr>wrote:

> Le 02/08/2011 19:39, Curtis Jensen a écrit :
>
>  That would work.  I guess, the 2D Line distance questions was a request.
>> Also, I'm more interested in the line segment part of the question.
>>
>
> For now there is no such method.
> Please open a Jira issue for this request, I'll implement them (I also have
> the 3D segment you already requested in my TODO list).
>
> Luc
>
>
>
>> Thanks,
>> Curtis
>>
>> On Tue, Aug 2, 2011 at 10:36 AM, Ted Dunning<te...@gmail.com>
>>  wrote:
>>
>>  You could just define a 3D line that is in a plane.  The distance will be
>>> the same.
>>>
>>> On Tue, Aug 2, 2011 at 9:47 AM, Curtis Jensen<curtis@the-jensens.org
>>>
>>>> wrote:
>>>>
>>>
>>>  I see the 3D Line class has a distance to a point method.  Is there
>>>> something equivalent for the 2D Line class and the 2D Segment class?
>>>>
>>>> Thanks,
>>>> Curtis
>>>>
>>>>
>>>
>>
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: user-unsubscribe@commons.**apache.org<us...@commons.apache.org>
> For additional commands, e-mail: user-help@commons.apache.org
>
>

Re: [math] Distance to Line and Line Segments

Posted by Luc Maisonobe <Lu...@free.fr>.
Le 02/08/2011 19:39, Curtis Jensen a écrit :
> That would work.  I guess, the 2D Line distance questions was a request.
> Also, I'm more interested in the line segment part of the question.

For now there is no such method.
Please open a Jira issue for this request, I'll implement them (I also 
have the 3D segment you already requested in my TODO list).

Luc

>
> Thanks,
> Curtis
>
> On Tue, Aug 2, 2011 at 10:36 AM, Ted Dunning<te...@gmail.com>  wrote:
>
>> You could just define a 3D line that is in a plane.  The distance will be
>> the same.
>>
>> On Tue, Aug 2, 2011 at 9:47 AM, Curtis Jensen<curtis@the-jensens.org
>>> wrote:
>>
>>> I see the 3D Line class has a distance to a point method.  Is there
>>> something equivalent for the 2D Line class and the 2D Segment class?
>>>
>>> Thanks,
>>> Curtis
>>>
>>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Re: [math] Distance to Line and Line Segments

Posted by Curtis Jensen <cu...@the-jensens.org>.
That would work.  I guess, the 2D Line distance questions was a request.
Also, I'm more interested in the line segment part of the question.

Thanks,
Curtis

On Tue, Aug 2, 2011 at 10:36 AM, Ted Dunning <te...@gmail.com> wrote:

> You could just define a 3D line that is in a plane.  The distance will be
> the same.
>
> On Tue, Aug 2, 2011 at 9:47 AM, Curtis Jensen <curtis@the-jensens.org
> >wrote:
>
> > I see the 3D Line class has a distance to a point method.  Is there
> > something equivalent for the 2D Line class and the 2D Segment class?
> >
> > Thanks,
> > Curtis
> >
>

Re: [math] Distance to Line and Line Segments

Posted by Ted Dunning <te...@gmail.com>.
You could just define a 3D line that is in a plane.  The distance will be
the same.

On Tue, Aug 2, 2011 at 9:47 AM, Curtis Jensen <cu...@the-jensens.org>wrote:

> I see the 3D Line class has a distance to a point method.  Is there
> something equivalent for the 2D Line class and the 2D Segment class?
>
> Thanks,
> Curtis
>