Product : Engine, Version : 5.1.1.1038, ArticleID : 41024096

Bug : The SegmentIndexFromPoint is not returning the correct result

Article41024096
TypeBug
ProductEngine
Version5.1.1.1038
Date Added9/19/2005
FixedYes [9/21/2005]
Submitted byMario Pellegrino
Keywords

Subject

The SegmentIndexFromPoint is not returning the correct result

Summary

The SegmentIndexFromPoint is not returning the correct result
VDPro1.ActiveDocument.Open App.Path + "\tmp.vdf"
Dim IndicePol As Integer
Dim pl As vdPolyline
Set pl =ro1.ActiveDocument.GetFromHandle("A")
IndicePol =SegmentIndexFromPoint(Array(0, 0, 700), 0.1)
MsgBox IndicePol ' shows 3 but correct is -1

Solution

It is fixed in 5.1.1.1039