Click or drag to resize

GeometryHandlerOnBeginEllipticalArc Method

Describes an elliptical arc

Namespace:  Atalasoft.Imaging.Codec.CadCam
Assembly:  Atalasoft.dotImage.Dwg (in Atalasoft.dotImage.Dwg.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public virtual DwgReduction OnBeginEllipticalArc(
	int shapeId,
	double[] center,
	double[] majorAxisVector,
	double[] minorAxisVector,
	double majorRadius,
	double minorRadius,
	double startAngle,
	double endAngle,
	double[] endPointsOverrides,
	DwgArcType arcType,
	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.
center
Type: SystemDouble
The center of the circle in Cartesian coordinates
majorAxisVector
Type: SystemDouble
The direction of the major axis of the ellipise
minorAxisVector
Type: SystemDouble
The direction of the minor axis of the ellipise
majorRadius
Type: SystemDouble
The size of the major radius of the ellipse
minorRadius
Type: SystemDouble
The size of the minor radius of the ellipse
startAngle
Type: SystemDouble
The starting angle of the arc in radians.
endAngle
Type: SystemDouble
The ending angle of the arc in radians. The end an
endPointsOverrides
Type: SystemDouble
An array of points to be used as the first and last points of the arc
arcType
Type: Atalasoft.Imaging.Codec.CadCamDwgArcType
Indicates how the arc is to be drawn.
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