wrld3d / ios-api

iOS API for WRLD: Stunning, Interactive 3D Maps
BSD 2-Clause "Simplified" License
19 stars 7 forks source link

float radius = (renderCamera.GetAltitude() * Eegeo::Math::Tan(renderCamera.GetFOV())); #12

Closed leftsider123 closed 7 years ago

leftsider123 commented 7 years ago

float radius = (renderCamera.GetAltitude() * Eegeo::Math::Tan(renderCamera.GetFOV())); Oc has a corresponding API?

calumleask commented 7 years ago

Hi @dululu522 - it looks like you've taken this code from https://github.com/eegeo/eegeo-example-app/blob/master/src/Search/SdkModel/SearchQueryPerformer.cpp#L21 Are you trying to find a suitable radius to use for a search service? If this is the case, you could consider using a hard wired value for now.

leftsider123 commented 7 years ago

Write a hard the value of the search result is bad, there is no corresponding oc version of the API likeeegeo-example-app?

jonty-dawson commented 7 years ago

Hi - could you explain what you are trying to achieve please? Are you trying to display search results on an eeGeo map using the Objective-C ios-api?

leftsider123 commented 7 years ago

Hi- I want to like float radius = (renderCamera GetAltitude () * Eegeo: : Math: : Tan (renderCamera. GetFOV ()));This method based on the current to determine the search radius of the lens?