[metapost] Trying to figure out MPLib
luigi scarso
luigi.scarso at gmail.com
Sun Aug 5 15:23:53 CEST 2012
On Sat, Aug 4, 2012 at 5:01 PM, Taco Hoekwater <taco at elvenkind.com> wrote:
>
> Hi,
>
> Really quickly (and perhaps not very precise):
>
>
> On 08/04/2012 04:16 PM, Shriramana Sharma wrote:
>
>>
>> ....But I wonder:
>>
>> psout.w (ll 5070..) records that it is make_choices that produces
>> these and make_path and make_envelope instead make the controls
>> identical to the nodes themselves. IMHO the latter is a much better
>> approach as it does not make one bother with detecting whether the
>> curvature is slight or not and simple == tests are enough. Also,
>> someone may actually use a curve of very slight curvature for whatever
>> reason. So can the behaviour of make_choices please be aligned with
>> that of make_path/make_envelope in the matter of straight lines?
>>
>
> Probably, but I have to investigate that.
>
control_points == nodes implies that one cannot calculate the derivatives
with the simple formula of derivative, but must introduce another check.
Also very slight curvature are always a problem, w.r.t the choice of
control_points == nodes or not are not so important.
--
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/metapost/attachments/20120805/0c36d42c/attachment.html>
More information about the metapost
mailing list