|
SimpleLoop2ProjectBack Method
|
project the endpoint of the line back onto the polygon in case the endpoint lies on the outside. Otherwise return the endpoint.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntaxpublic Point2 ProjectBack(
Line2 line
)
Public Function ProjectBack (
line As Line2
) As Point2
public:
virtual Point2 ProjectBack(
Line2^ line
) sealed
abstract ProjectBack :
line : Line2 -> Point2
override ProjectBack :
line : Line2 -> Point2
Parameters
- line
- Type: Karamba.GeometryLine2
Lines whose end-point lies potentially outside of the polygon.
Return Value
Type:
Point2End-point of the line of point projected back onto the polygon.
Implements
ILoop2ProjectBack(Line2)
See Also