All Classes |Grouped Classes |Index

Function closest_point

Return the Point on the line from A to B closest to point P.

	static CL_Pointf CL_LineMath::closest_point(
		const CL_Pointf & P,
		const CL_Pointf & A,
		const CL_Pointf & B);