Class: MonotoneChainEdge

jsts.geomgraph.index.MonotoneChainEdge

new MonotoneChainEdge(e)

Parameters:
Name Type Description
e Edge
Source:

Members

e :Edge

Type:
  • Edge
Source:

env1 :Envelope

these envelopes are created once and reused
Type:
  • Envelope
Source:

pts :Array.<Coordinate>

cache a reference to the coord array, for efficiency
Type:
  • Array.<Coordinate>
Source:

startIndex :Array.<int>

the lists of start/end indexes of the monotone chains. Includes the end point of the edge as a sentinel
Type:
  • Array.<int>
Source:

Methods

computeIntersects(mce, si)

Parameters:
Name Type Description
mce MonotoneChainEdge
si SegmentIntersector
Source:

computeIntersectsForChain(chainIndex0, mce, chainIndex1, si)

Parameters:
Name Type Description
chainIndex0 int
mce MonotoneChainEdge
chainIndex1 int
si SegmentIntersector
Source:

computeIntersectsForChain2(start0, end0, mce, start1, end1, ei)

Parameters:
Name Type Description
start0 int
end0 int
mce MonotoneChainEdge
start1 int
end1 int
ei SegmentIntersector
Source:

getMaxX(chainIndex) → {double}

Parameters:
Name Type Description
chainIndex int
Source:
Returns:
Type
double

getMinX(chainIndex) → {double}

Parameters:
Name Type Description
chainIndex int
Source:
Returns:
Type
double