[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to get X/Y-extent of a bezier-curve?
From: |
David Kastrup |
Subject: |
Re: How to get X/Y-extent of a bezier-curve? |
Date: |
Tue, 06 Oct 2015 14:49:45 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Thomas Morley <address@hidden> writes:
> Hi all,
>
> I'm going to write a generic bow-stencil.
> Below you'll find a boiled down example.
>
> The main problem: how to determine the correct extents.
> Looks like I need to calculate the actual X/Y-extents of the resulting
> bezier-curve.
> Though, obviously my maths-skills are not sufficient.
Oh, that's a nuisance.
> Any hints?
I'd just call make-path-stencil and use the bounding box results from
that. No need to reinvent the wheel.
While this particular wheel could likely profit from a do-over with more
of a view towards efficiency and numerical robustness, there is no point
in code duplication.
--
David Kastrup
- How to get X/Y-extent of a bezier-curve?, Thomas Morley, 2015/10/08
- Re: How to get X/Y-extent of a bezier-curve?,
David Kastrup <=
- Re: How to get X/Y-extent of a bezier-curve?, Thomas Morley, 2015/10/08
- Re: How to get X/Y-extent of a bezier-curve?, David Kastrup, 2015/10/08
- Re: How to get X/Y-extent of a bezier-curve?, Thomas Morley, 2015/10/08
- Re: How to get X/Y-extent of a bezier-curve?, David Kastrup, 2015/10/08
- Re: How to get X/Y-extent of a bezier-curve?, Thomas Morley, 2015/10/08
- Re: How to get X/Y-extent of a bezier-curve?, Ed Gordijn, 2015/10/09
- Re: How to get X/Y-extent of a bezier-curve?, David Kastrup, 2015/10/09
- Re: How to get X/Y-extent of a bezier-curve?, Thomas Morley, 2015/10/09
- Re: How to get X/Y-extent of a bezier-curve?, David Kastrup, 2015/10/09
- Re: How to get X/Y-extent of a bezier-curve?, BB, 2015/10/08