DrillShape AddCirclePoint

Add a circle drill point. To add a circle point first define a circle drilling pattern

Overloads

public void AddCirclePoint(Point3D point, float radius)
public void AddCirclePoint(float x, float y, float z, float radius)

 

Parameters

Point3D point Define the location of the center of the circle
float radius Radius of the circle
float x X coordinate of the center
float y Y coordinate of the center
float z Z coordinate of the center

 

Exceptions

InvalidOperationException A circle drilling patterns should be defined before adding a circle point

 

Example

Copy
CircleDrillShapePattern circleDrilPat = new CircleDrillShapePattern();

circleDrilPat.DeltaRadius = 1;
circleDrilPat.IsClockwise = false;
circleDrilPat.IsConcentricCirclesEnabled = true;
circleDrilPat.MaxRadius = 6;
circleDrilPat.MinRadius = 2;
circleDrilPat.RevsPerCircle = 1;
circleDrilPat.UsePointRadiusAsMaxRadius = true;


//Create a drill shape.
DrillShape drillShape = new DrillShape();
drillShape.SetPattern(circleDrilPat);

drillShape.AddCirclePoint(0, 0, 0, 10);
drillShape.AddCirclePoint(10, 10, 0, 10);
drillShape.AddCirclePoint(20, 20, 0, 10);

// Add the Drill shape to vector image
vectorImage.AddDrill(drillShape);