Poly2d.Clip Method

Clips the Poly2d to a specified clipping box. The result is a new Poly2d defining the part that is completely inside the clip box. The Poly2d must be closed and consist of only lines.
public bool Clip( 
   Extents2d clipbox
   out Poly2d res 
)

Parameters

clipbox
Extents2d

The box to clip against.

res
Poly2d

The resulting Poly2d.

Return Value

bool

true if any portion of the Poly2d is inside the clipbox.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition