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

6d0ccd19 bff4 0d63 019c 77d21851d149

haplokuon edited this page May 6, 2023 · 1 revision

PolygonalVertexes(Int32) 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
)

VB

Public Function PolygonalVertexes ( 
	precision As Integer
) As List(Of Vector2)

C++

public:
List<Vector2>^ PolygonalVertexes(
	int precision
)

F#

member PolygonalVertexes : 
        precision : int -> List<Vector2> 

Parameters

  Int32
The number of vertexes created for curve segments.

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