.NET

Reply
Active Contributor
gulzar25
Posts: 42
Registered: ‎07-02-2013
Message 1 of 4 (166 Views)

plot points along a curve

166 Views, 3 Replies
07-12-2013 07:39 AM

Hi,

I need ti trace 2 points (which are certain distance apart) along a curve at a distance of x inches(say 2 inches).How do i write the code such that the point is plotted on the curves and maintains the distance.Appreciate the help.

 

Thanks

Gulzar

*Expert Elite*
_gile
Posts: 2,077
Registered: ‎04-29-2006
Message 2 of 4 (164 Views)

Re : plot points along a curve

07-12-2013 07:49 AM in reply to: gulzar25

Hi,

 

Look at the Curve.GetPointAtDist() method.

Gilles Chanteau
Active Contributor
gulzar25
Posts: 42
Registered: ‎07-02-2013
Message 3 of 4 (118 Views)

Re: plot points along a curve

07-15-2013 05:58 AM in reply to: gulzar25

Hi Giles,

In Curve.GetPointAtDist(parameter).What is parameter here.Like if i give 1.0 as parameter will it return the endpoint of the line.

 

Thanks

Gulzar

*Expert Elite*
_gile
Posts: 2,077
Registered: ‎04-29-2006
Message 4 of 4 (110 Views)

Re: plot points along a curve

07-15-2013 09:05 AM in reply to: gulzar25

Aren't you confusing GetPointAtDist(double distance) and GetPointAtParameter(double parameter)?

Gilles Chanteau

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community