You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i could be wrong, but i always assumed right and left referred to the cardinality as perceived using the bearing of the cutting geometry if it were to animate and grow dynamically from its first vertex to its last to do the cutting.
At the location of the cut, the left is to the left of the tangent vector of the the cutter segment and the right is to the right of it. For the tangent vector if you direct your right hand index finger in the direction of the tangent your thumb will point to the left (keep your palm faced down to the 2D plane).
Thanks for the clarifications. IMO this would be good info to expand on in the Wiki page. The detail that a polyline has a direction was not evident to a newbie like me. Also I had missed the distinction that the CUT operation's second argument is a polyline, wheras most others take a GEOMETRY.
<p>All left cuts will be grouped together in the first geometry. Right cuts and coincident cuts are grouped
in the second geometry. Each undefined cut along with any uncut parts are output as separate geometries. If there were no cuts, the cursor will return no geometry. If the left
or right cut does not exist, the returned geometry will be empty for this type of cut.</p>
<p>An undefined cut will only be produced if a left or right cut was produced and there was a part left over after cutting or a cut is bounded to the left and right of the cutter.</p>
Activity
jgravois commentedon Jan 31, 2018
i could be wrong, but i always assumed right and left referred to the cardinality as perceived using the bearing of the cutting geometry if it were to animate and grow dynamically from its first vertex to its last to do the cutting.

stolstov commentedon Jan 31, 2018
At the location of the cut, the left is to the left of the tangent vector of the the cutter segment and the right is to the right of it. For the tangent vector if you direct your right hand index finger in the direction of the tangent your thumb will point to the left (keep your palm faced down to the 2D plane).
jgravois commentedon Jan 31, 2018
reference: https://en.wikipedia.org/wiki/Right-hand_rule
DavidHollman commentedon Jan 31, 2018
Thanks for the clarifications. IMO this would be good info to expand on in the Wiki page. The detail that a polyline has a direction was not evident to a newbie like me. Also I had missed the distinction that the CUT operation's second argument is a polyline, wheras most others take a GEOMETRY.
jgravois commentedon Jan 31, 2018
we actually host that document in the
gh-pagesbranch of this repository. a pull request with the improvements you mentioned would be welcome.geometry-api-java/doc/Cut.html
Lines 55 to 58 in f30ffab