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: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public virtual DwgReduction OnBeginPolygon(
	int shapeId,
	double[] vertices,
	double[] normalVector,
	double[] extrusionVector
)

Parameters

shapeId
Type: SystemInt32
A unique identifier for this shape. When Distill is done reducing a shape, OnEnd... will be called with this shape identifier.
vertices
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.
normalVector
Type: SystemDouble
The normal vector from the surface of the shape in 3D coordinates in the order X, Y, Z.
extrusionVector
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