Selector    Example Index: |  1  |  2  |  3  |  4  |  5  |

05: SelePointsInsideSector

SelePointsInsideSector Definition    download .ghx

The sector consists of a base point and two vectors bound to it. These define an angle between 0 and 180 degrees. Imagine a target vector for each target point that connects from the base point to the target point. A target point is between two selector vectors if the cross products of its vector with each selector vector have opposite directions.

Write a function that goes through the target points one by one. For each point, determine the cross products of the target point with both selector vectors. If they have different directions, the function reports the point and puts it in the result.      ... more on Design Patterns CA

SelePointsInsideSector Manipulations