Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

76e6e1a3 92c3 2d35 76af 2ac747588db1

haplokuon edited this page May 6, 2023 · 1 revision

PolygonalVertexes(Int32, Double, Double) Method

netDxf 3.0.0 Library

Obtains a list of vertexes that represent the polyline approximating the curve segments as necessary.

Definition

Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public List<Vector2> PolygonalVertexes(
	int precision,
	double weldThreshold,
	double bulgeThreshold
)

VB

Public Function PolygonalVertexes ( 
	precision As Integer,
	weldThreshold As Double,
	bulgeThreshold As Double
) As List(Of Vector2)

C++

public:
List<Vector2>^ PolygonalVertexes(
	int precision, 
	double weldThreshold, 
	double bulgeThreshold
)

F#

member PolygonalVertexes : 
        precision : int * 
        weldThreshold : float * 
        bulgeThreshold : float -> List<Vector2> 

Parameters

  Int32
The number of vertexes created for curve segments.
  Double
Tolerance to consider if two new generated vertexes are equal.
  Double
Minimum distance from which approximate curved segments of the polyline.

Return Value

List(Vector2)
A list of vertexes expressed in object coordinate system.

Remarks

For polylines containing arc segments the precision value defines the number of divisions for a full circle, therefore, the final number of divisions for the arc will depend on the angle of the arc.
For vertexes with bulge values different than zero a precision of zero means that no approximation will be made.
For smoothed polylines the minimum number of vertexes generated is 2.

See Also

Reference

Polyline2D Class
PolygonalVertexes Overload
netDxf.Entities Namespace

Clone this wiki locally