Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Result ¶
type Result struct {
// contains filtered or unexported fields
}
Result the results from LineIntersectsLine function. It contains the intersection point(s) and indicates what type of intersection there was (or if there was no intersection)
func (*Result) HasIntersection ¶
HasIntersection returns true if the lines have an intersection
func (*Result) Intersection ¶
func (i *Result) Intersection() []geom.Coord
Intersection returns an array of Coords which are the intersection points. If the type is PointIntersection then there will only be a single Coordinate (the first coord). If the type is CollinearIntersection then there will two Coordinates the start and end points of the line that represents the intersection
Click to show internal directories.
Click to hide internal directories.