ILoop2ProjectBack Method

project the endpoint of the line back onto the polygon in case the endpoint lies on the outside. Otherwise return the endpoint.

Definition

Namespace: Karamba.Geometry
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
Point2 ProjectBack(
	Line2 line
)

Parameters

line  Line2
Lines whose end-point lies potentially outside of the polygon.

Return Value

Point2
End-point of the line of point projected back onto the polygon.

See Also