|
SimpleLoop2Intersects Method
|
Test for intersection of the line with the polygon.
Namespace:
Karamba.Geometry
Assembly:
KarambaCommon (in KarambaCommon.dll) Version: 2.2.0.4 (2.2.0.4)
Syntaxpublic bool Intersects(
Line2 line,
ref Point2 pointIntersect
)
Public Function Intersects (
line As Line2,
ByRef pointIntersect As Point2
) As Boolean
public:
virtual bool Intersects(
Line2^ line,
Point2% pointIntersect
) sealed
abstract Intersects :
line : Line2 *
pointIntersect : Point2 byref -> bool
override Intersects :
line : Line2 *
pointIntersect : Point2 byref -> bool
Parameters
- line
- Type: Karamba.GeometryLine2
Line to be tested for intersection. - pointIntersect
- Type: Karamba.GeometryPoint2
Returns the intersection point in case of intersection.
Return Value
Type:
Boolean'True' if the line intersects the polygon.
Implements
ILoop2Intersects(Line2, Point2)
See Also