On Jul 11, 2012, at 1:13 AM, crdueck wrote:

> i have a few questions regarding working with ON_BezierCurves.

You may want to use the underlying ON_Curve base class.

> I want to 
> evaluate the tangents at the start and end points of a bezier curve. the 
> function ON_BezierCurve::TangentAt() seems to be what i want, but it 
> takes a double as its argument instead of a point. what does the double 
> represent? distance from the beginning of the curve? how can i get the 
> tangent at the beginning/end points of the curve?

Yep, it's the "t" distance along the curve.  Look for many other instances of 
TangentAt() in src/librt/primitives/opennurbs_ext.h

Cheers!
Sean


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
BRL-CAD Developer mailing list
brlcad-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to