Try to slice the polygon with a line.
Namespace:
Gile.AutoCAD.Geometry
Assembly:
GeometryExtensions (in GeometryExtensions.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic bool TrySlice(
Line2d line,
out Polygon2d[] polygons
)
Public Function TrySlice (
line As Line2d,
<OutAttribute> ByRef polygons As Polygon2d()
) As Boolean
public:
bool TrySlice(
Line2d^ line,
[OutAttribute] array<Polygon2d^>^% polygons
)
member TrySlice :
line : Line2d *
polygons : Polygon2d[] byref -> bool
Parameters
- line
- Type: Line2d
Line used to slice the polygon. - polygons
- Type: Gile.AutoCAD.GeometryPolygon2d
Polygons generated by the slicing operation.
Return Value
Type:
Booleantrue, if the slicing operation succeeded; false, otherwise.
See Also