I cannot find any explanation for this.
I tested this on various curves like lines, polylines, arcs etc and it
seems to give stuff like length, angle etc. It is nowhere documented
(atleast I could not find it ) about what this means and how it works.
Any info is welcome. Thanks
- Rakesh Rao
AutoCAD customization for Engineering/Mapping/GIS
Get GeoTools @ http://www.4d-technologies.com/geotools
Build MyGeoTools @
http://www.4d-technologies.com/geotools/my_geotools.htm
FREE downloads : http://www.4d-technologies.com/techcenter
For any u value in the definition region we can find the two
corresponding values, x and y; so if we'd put the point (x y)
for each u on the screen, we'd get a curve - a parametric
curve. In our case, a circle.
Any curve type entity in AutoCAD has some underlying
parameterization defined arbitrarily by programmers.
Which exactly was chosen will show up in two aspects ---
the parameter range (start and end parameter value) and
the placement of points on curve corresponding to the
uniformly spaced parameter values.
For instance, the above parameterization
(coincidentally used also for circles by ACAD) dictates
the parameter range from 0 to 2*pi and even distribution
of points along the circle for evenly spaced parameters,
but there exist another parameterization(s) for circles, one
having a parameter range from minus- to plus-infinity
(agreeably not a practical choice). The points for it of course
won't be spaced equally at all.
For ACAD's choice of parameterization for polylines and
circles the points will be equidistantly distributed along the
curve, for ellipses and splines they will be placed more densely
on more curved segments of the curve and more sparsely
along straighter segments.
--
Vlad http://vnestr.tripod.com/
(define (list . args) args)
Rakesh Rao <rakes...@vsnl.net> wrote in message
news:3C01CF07...@vsnl.net...
>
> Can someone explain what is the meaning of the "parameter" in the
> function (vlax-curve-getParamAtPoint curve-obj point)
>
> I cannot find any explanation for this.
>
> I tested this on various curves like lines, polylines, arcs etc and it
> seems to give stuff like length, angle etc. It is nowhere documented
> (atleast I could not find it ) about what this means and how it works.
> [.....]
Thanks for the fundamental insights. You sure are good at maths.
Rakesh
Vladimir Nesterovsky wrote:
--
"Vladimir Nesterovsky" <vne...@netvision.net.il> wrote in message
news:DFB53B6134BC1BFE...@in.WebX.maYIadrTaRb...
jrf
Member of the Autodesk Discussion Forum Moderator Program
Please do not email questions unless you wish to hire my services
In article <C73550103F99F13A...@in.WebX.maYIadrTaRb>, Jim Short
wrote:
<snip pretty-to-understand explanation of Parametric Curves>
>Any curve type entity in AutoCAD has some underlying
>parameterization defined arbitrarily by programmers.
>Which exactly was chosen will show up in two aspects ---
>the parameter range (start and end parameter value) and
>the placement of points on curve corresponding to the
>uniformly spaced parameter values.
A question: Where I can find a documentation of the
curve-parameterizations used by Autodesk? -or- Do you know the
parameterization they use?
<snip - Parameter-Range and Point-Distribution>
Achim Dabrunz