-
Notifications
You must be signed in to change notification settings - Fork 0
Feat/create voi #201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: next
Are you sure you want to change the base?
Feat/create voi #201
Conversation
| # Create vertices first | ||
| for point in params.points: | ||
| pp = opengeode.Point3D([point.x, point.y, params.z]) | ||
| # pp = opengeode.Point3D([point.x, point.y, params.z]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je supprimer alors
| params = schemas.CreateVoi.from_dict(flask.request.get_json()) | ||
|
|
||
| # Define the 4 vertices of the AOI (bottom face in the XY plane) | ||
| aoi_vertices = [ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non, il faut récupérer l'id de l'aoi dans la request et récupérer la data via la db.
| z_min = params.z_min | ||
| z_max = params.z_max | ||
|
|
||
| # --- 1. Create the 8 vertices of the bounding box --- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pour l'aoi, le back est générique, pas forcément 4 sommets. Il faut faire la même pour le voi.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
X et Y ne doivent pas faire parti des params. Toute l'info est déjà dans l'aoi
No description provided.