Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

SpaceCurve with 4 points

16 views
Skip to first unread message

Thomas D. Dean

unread,
Mar 11, 2013, 7:40:15 PM3/11/13
to
I have 4 3D pointsP1, P2, P3, and, P4. All are defined like
P1:=[-.78575, .54713, .23713], etc. The numbers come from a
define_external function.

I want to draw a spacecurve thru these points.

I am blocked.

Tom Dean

none Rouben Rostamian

unread,
Mar 12, 2013, 1:57:56 AM3/12/13
to
In article <T5Odnf1_ivrD9qPM...@megapath.net>,
Thomas D. Dean <tom...@speakeasy.org> wrote:
>I have 4 3D pointsP1, P2, P3, and, P4. All are defined like
>P1:=[-.78575, .54713, .23713], etc. The numbers come from a
>define_external function.
>I want to draw a spacecurve thru these points.

plots:-pointplot3d([P1,P2,P3,P4], connect=true);

--
Rouben Rostamian

Thomas D. Dean

unread,
Mar 12, 2013, 2:03:07 AM3/12/13
to
This gives straight lines between the points. I want a curve, like an
ellipse.

I have more points, but, not enough to get a smooth plot.

I need something like the geometry::ellipse function only in 3D.

Tom Dean

none Rouben Rostamian

unread,
Mar 12, 2013, 1:29:01 PM3/12/13
to
In article <t4ydndiD8JuEWKPM...@megapath.net>,
Thomas D. Dean <tom...@speakeasy.org> wrote:
>none Rouben Rostamian wrote:
>> In article <T5Odnf1_ivrD9qPM...@megapath.net>,
>> Thomas D. Dean <tom...@speakeasy.org> wrote:
>>> I have 4 3D pointsP1, P2, P3, and, P4. All are defined like
>>> P1:=[-.78575, .54713, .23713], etc. The numbers come from a
>>> define_external function.
>>> I want to draw a spacecurve thru these points.
>>
>> plots:-pointplot3d([P1,P2,P3,P4], connect=true);
>>
>This gives straight lines between the points. I want a curve, like an
>ellipse.
>
>I have more points, but, not enough to get a smooth plot.

This may be relevant:

http://www.mapleprimes.com/questions/37682-Spline-In-3D

--
Rouben Rostamian
0 new messages