Range Ring issues in GM

MehsenMehsen Posts: 10
Hello,

I have some questions,

1. What does rotation angle mean when creating range ellipse in GM application, the result is always a complete circle. ?
2. I could not find a reference on how to draw ellipse using SDK, so I came up with the attached file with no luck.
3. The reason I need to draw an ellipse is to show hidden and visible areas with different colors at the same time, the current  GM_ViewShedParams_t.mShowHiddenPoints shows hidden or visible but not both. Is there a way to do this ?

Thanks GM team

Mehsen

Best Answer

  • bmg_bobbmg_bob Global Mapper Programmer Posts: 2,082
    Answer ✓
    Mehsen said:

    1. What does rotation angle mean when creating range ellipse in GM application, the result is always a complete circle. ?
    2. I could not find a reference on how to draw ellipse using SDK, so I came up with the attached file with no luck.
    3. The reason I need to draw an ellipse is to show hidden and visible areas with different colors at the same time, the current  GM_ViewShedParams_t.mShowHiddenPoints shows hidden or visible but not both. Is there a way to do this ?

    Hello,

    1. This is the angle of the major axis, rotated clockwise from 0.  This is used to rotate the ellipse.
    2. I don't think there is an SDK function that will add an ellipse.  You will need to calculate the vertices and add an area feature.
    3. Have you tried creating two different view sheds, one showing hidden points and the other showing visible?
    Cheers,

    Bob

Answers

  • MehsenMehsen Posts: 10
    I could not edit my post :smile:
    number 3 above refers to view shed
  • MehsenMehsen Posts: 10
    Thanks Bob for replying.
    Can I draw ring range using sdk ?
Sign In or Register to comment.