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

90c60c2d dfaf 0528 f4bc 2b2e9465c7cc

haplokuon edited this page May 6, 2023 · 1 revision

ToPolyline2D Method

netDxf 3.0.0 Library

Converts the actual Polyline3D in a Polyline2D.

Definition

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

C#

public Polyline2D ToPolyline2D(
	int precision
)

VB

Public Function ToPolyline2D ( 
	precision As Integer
) As Polyline2D

C++

public:
Polyline2D^ ToPolyline2D(
	int precision
)

F#

member ToPolyline2D : 
        precision : int -> Polyline2D 

Parameters

  Int32
Number of vertexes generated, only applicable for smoothed polylines.

Return Value

Polyline2D
A Polyline2D that represents the polyline.

Remarks

The resulting Polyline2D will be a projection of the actual polyline into the plane defined by its normal vector.

See Also

Reference

Polyline3D Class
netDxf.Entities Namespace

Clone this wiki locally