Line
Line in 2D space
Constructor Summary
Public Constructor | ||
public |
constructor(startPoint: *, endPoint: *) |
Method Summary
Public Methods | ||
public |
getEndPoint(): misc.Point Get end point |
|
public |
getStartPoint(): misc.Point Get start point |
|
public |
isIntersectWithLine(line: *): Boolean Check if it intersect with another line |
|
public |
isIntersectWithPolygon(polygon: *): Boolean Check if it intersect with polygon |
Public Constructors
public constructor(startPoint: *, endPoint: *) source
Params:
Name | Type | Attribute | Description |
startPoint | * | {misc.Point} - Start point of the line |
|
endPoint | * | {misc.Point} - End point of the line |