Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Vision for NET
»
Nevron Chart for .NET
»
hitTest to pick a point from NTriangulatedSurfaceSeries surfaces
hitTest to pick a point from NTriangulatedSurfaceSeries surfaces
Post Reply
hitTest to pick a point from NTriangulatedSurfaceSeries surfaces
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
Yong Fang
Yong Fang
posted 15 Years Ago
ANSWER
Post Details
Group: Forum Members
Posts: 2,
Visits: 1
Thank you.
Reply
Like
0
Nevron Support
Nevron Support
posted 15 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
Hello Yong,
It looks like there is a problem with selection in triangulated surface. I wasn't able to reproduce exactly the behavior that you described, but the control didn't report properly the selected triangles. We will fix the problem for the next service pack.
Best Regards,
Nevron Support Team
Reply
Like
0
Yong Fang
Yong Fang
posted 15 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 2,
Visits: 1
Hi,
I try to display the surface coordinate under the mouse during the mouse move. My chart contains two NTriangulatedSurfaceSeries surfaces. Each of them is a hemisphere. After calling hitTest, I get a NSurfaceTriangle object from the hitTestResult. The NSurfaceTriangle object has three data index. I believe they are the index pointing to the NTriangulatedSurfaceSeries->(X)(Z)Values array. However the index and the coordinate extract from the array are everything but correct.
For instance with a PredefinedProjection:
rthogonalTop, only the north hemisphere is visible. When the mouse moves around the north pole, I get random height values (from -1 to +1, both my two hemispheres have 1 as their radius). The height value should be round 1. The series index should always be 0 (meaning the north hemisphere). But sometimes, I got 1 as the series index (meaning the south hemisphere).
Is it a bug with hitTest? Can anyone tell me how to make it works?
Thank you.
Yong Fang
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search