pub struct BoundingBoxResponse {
pub model_bounding_box: Box,
pub bounding_box_per_body: HashMap<String, Box>,
pub faces_bounding_box: Option<Box>,
pub bounding_box_per_face: Option<HashMap<String, Box>>,
}Expand description
Response for bounding box query
Fields§
§model_bounding_box: BoxBounding box of the entire model
bounding_box_per_body: HashMap<String, Box>Bounding box of each solid and sheet in the model, keyed by its entity id
faces_bounding_box: Option<Box>Single box enclosing all the requested faces. Set only when faces were requested
bounding_box_per_face: Option<HashMap<String, Box>>Bounding box of each requested face, keyed by its face id. Set only when faces were requested
Trait Implementations§
Source§impl Clone for BoundingBoxResponse
impl Clone for BoundingBoxResponse
Source§impl Debug for BoundingBoxResponse
impl Debug for BoundingBoxResponse
Source§impl<'de> Deserialize<'de> for BoundingBoxResponse
impl<'de> Deserialize<'de> for BoundingBoxResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Forget for BoundingBoxResponse
impl Freeze for BoundingBoxResponse
impl RefUnwindSafe for BoundingBoxResponse
impl Send for BoundingBoxResponse
impl Sync for BoundingBoxResponse
impl Unpin for BoundingBoxResponse
impl UnsafeUnpin for BoundingBoxResponse
impl UnwindSafe for BoundingBoxResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more