File tree 2 files changed +10
-1
lines changed
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -188,7 +188,10 @@ public bool Contains(Polygon2d poly) {
188
188
return true ;
189
189
}
190
190
191
-
191
+ /// <summary>
192
+ /// Checks that all points on a segment are within the area defined by the GeneralPolygon2d;
193
+ /// holes are included in the calculation.
194
+ /// </summary>
192
195
public bool Contains ( Segment2d seg )
193
196
{
194
197
if ( outer . Contains ( seg ) == false )
Original file line number Diff line number Diff line change @@ -333,6 +333,9 @@ public bool Contains(Polygon2d o) {
333
333
return true ;
334
334
}
335
335
336
+ /// <summary>
337
+ /// Checks that all points on a segment are within the area defined by the Polygon2d.
338
+ /// </summary>
336
339
public bool Contains ( Segment2d o )
337
340
{
338
341
// [TODO] Add bbox check
@@ -360,6 +363,9 @@ public bool Intersects(Polygon2d o) {
360
363
return false ;
361
364
}
362
365
366
+ /// <summary>
367
+ /// Checks if any point on a segment is within the area defined by the Polygon2d.
368
+ /// </summary>
363
369
public bool Intersects ( Segment2d o )
364
370
{
365
371
// [TODO] Add bbox check
You can’t perform that action at this time.
0 commit comments