Poly2d.InsertNode Method

Inserts a node at pos and returns the index to the inserted node If the node allready exists the index is just returned
Public Function InsertNode( _ 
ByVal pos As Double
) As Integer
This language is not supported or no code example is available.
public int InsertNode( 
double pos 
)
This language is not supported or no code example is available.
public:  
int InsertNode( 
double pos 
)
This language is not supported or no code example is available.
public function InsertNode( 
pos : double 
) : int;
This language is not supported or no code example is available.

Parameters

pos
double

The parametric position where a node is inserted in the range [0,1]

Return Value

int

-1 if the function fails otherwise the index to the new node

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition