class RayExt
package nb.ext
Static methods
staticinlineproject(ray:Ray, p:Point):Point
Returns the projection of a point onto a ray.
Parameters:
ray | An |
|---|---|
p | An |
Returns:
A new h2d.col.Point instance being the projection of p onto ray.
staticinlineside(ray:Ray, p:Point):Float
Returns a number depending on which side a point is on a ray axis.
Parameters:
ray | An |
|---|---|
p | An |
Returns:
A positive number if p is on the right side of ray and negative if it's on the left.