-2

I've read from nvidia a way to test whether a given point is within a Bézier curve's 'fill' is by using hardware shaders and using interpolated uv coordinates to test against...

GPU Gems 3, Chapter 25: Rendering Vector Art on the GPU.

This seems very complicated and I was wondering if there is a simple formula for testing if a point is inside or outside of a Bézier?

fospathi
  • 537
  • 1
  • 6
  • 7
ChrisJAllen
  • 93
  • 1
  • 7
  • possible duplicate of [How can I tell if the mouse pointer is inside a path defined by Bezier curves and lines?](http://stackoverflow.com/questions/6444602/how-can-i-tell-if-the-mouse-pointer-is-inside-a-path-defined-by-bezier-curves-an) – r3mainer Sep 02 '14 at 20:19

1 Answers1

1

Well, your question is kinda strange.

A curve - let it be a simple line or something more complex like a bezier-curve - is by itself a primitive that has no area. A question asking whether a point is is "inside or outside" of something that has no area is not answerable.

You probably have something else in mind. Please give some hints and maybe add a picture of what you're looking for.

Nils Pipenbrinck
  • 83,631
  • 31
  • 151
  • 221