Parameters
- distance
- The distance from the From point to insert the vertex.
- asRatio
- True to treat the distance as a ratio (or %) of the part length.
- createPart
- (Optional) Specifies whether a new part is to be created when the part is split. The default value is false.
Return Value
The new segment index.