aurora-opensource / streetscape.gl

Visualization framework for autonomy and robotics data encoded in XVIZ

Home Page:http://www.streetscape.gl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Obtain the coordinates of four points in the visual range

juzi5230 opened this issue · comments

commented

Can I obtain the coordinates of four points in the visual range

Can you elaborate on what the visual range means?

commented

Can you elaborate on what the visual range means?

The range we can see of the screen,
i want to obtain the coordinates of the four vertices in the screen,
or the minimum coordinate point and the maximum coordinate point

commented

Coordinates doesn't really make sense in 3d views

For 2D views, check out https://avs.auto/#/streetscape.gl/api-reference/react-components/log-viewer?section=onclick-function-optional-

I get it ,thanks for you reply!

@juzi5230 I think what you want are the bounds of the viewport. deck.gl supports this, see https://deck.gl/docs/api-reference/core/viewport

I don't know if we expose this at the. moment.