Click or drag to resize

Polygon2dTrySlice Method

Try to slice the polygon with a line.

Namespace:  Gile.AutoCAD.R20.Geometry
Assembly:  GeometryExtensionsR20 (in GeometryExtensionsR20.dll) Version: 2.2.0.0 (2.2.0.0)
Syntax
public bool TrySlice(
	Line2d line,
	out Polygon2d[] polygons
)

Parameters

line
Type: Line2d
Line used to slice the polygon.
polygons
Type: Gile.AutoCAD.R20.GeometryPolygon2d
Polygons generated by the slicing operation.

Return Value

Type: Boolean
true, if the slicing operation succeeded; false, otherwise.
See Also