http://stackoverflow.com/questions/3461453/determine-which-side-of-a-line-a-point-lies
View code on GitHub Namespace: DeltaEngine.DatatypesAssembly: DeltaEngine (in DeltaEngine.dll) Version: 1.1.1.0 (1.1.1)
public bool IsLeftOfLineOrOnIt(
Vector2D lineStart,
Vector2D lineEnd
)
public bool IsLeftOfLineOrOnIt(
Vector2D lineStart,
Vector2D lineEnd
)
Public Function IsLeftOfLineOrOnIt (
lineStart As Vector2D,
lineEnd As Vector2D
) As Boolean
Public Function IsLeftOfLineOrOnIt (
lineStart As Vector2D,
lineEnd As Vector2D
) As Boolean
public:
bool IsLeftOfLineOrOnIt(
Vector2D lineStart,
Vector2D lineEnd
)
public:
bool IsLeftOfLineOrOnIt(
Vector2D lineStart,
Vector2D lineEnd
)
member IsLeftOfLineOrOnIt :
lineStart : Vector2D *
lineEnd : Vector2D -> bool
member IsLeftOfLineOrOnIt :
lineStart : Vector2D *
lineEnd : Vector2D -> bool
Return Value
Type:
Boolean