문제

I'm working on a plug in for petrel in I require drawing lines, polygons on a petrel map window, can it be possible using mouse events?

도움이 되었습니까?

해결책

Yes, you can create a process that takes mouse button clicks in a map window and creates lines or polygons from the input picks provided (MapPickedPoint). The process could create a new polyline object in a folder in the Petrel input tree that would be updated with each pick, or you can create your own custom domain object that is updated with each point pick. If you create a custom domain object you will need to also provide the method to draw the object in the map window.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top