projectedPoint

abstract fun projectedPoint(p: Point): Point

Point projected to the closest edge


open fun projectedPoint(ml: Matrix, p: Point, mr: Matrix): Point

Deprecated

Untested yet

ml transformation matrix of this Shape2D, mr transformation matrix of the point p