Click or drag to resize

GeometryHandlerOnBeginPolygon Method

Describes a closed polygon

Namespace:  Atalasoft.Imaging.Codec.CadCam
Assembly:  Atalasoft.dotImage.Dwg (in Atalasoft.dotImage.Dwg.dll) Version: (.NET 4.5.2, x86)
public virtual DwgReduction OnBeginPolygon(
	int shapeId,
	double[] vertices,
	double[] normalVector,
	double[] extrusionVector


Type: SystemInt32
A unique identifier for this shape. When Distill is done reducing a shape, OnEnd... will be called with this shape identifier.
Type: SystemDouble
An array of three dimensional points describing the polygon to be drawn. The polygon should be closed by connecting the first and last points.
Type: SystemDouble
The normal vector from the surface of the shape in 3D coordinates in the order X, Y, Z.
Type: SystemDouble
A vector describing direction and length of how this object should be extruded.

Return Value

Type: DwgReduction
Return DwgReduction.Reduce to request that the shape should be reduced further, DwgReduction.DontReduce otherwise.
See Also