(this: Bound<'py, Self>)
| 164 | /// The `Nx3` array of vertex positions of the mesh |
| 165 | #[getter] |
| 166 | pub fn vertices<'py>(this: Bound<'py, Self>) -> PyResult<Bound<'py, PyUntypedArray>> { |
| 167 | match &this.borrow().inner { |
| 168 | PyTriMesh3dData::F32(mesh) => utils::view_vec_generic(mesh.vertices(), this.into_any()), |
| 169 | PyTriMesh3dData::F64(mesh) => utils::view_vec_generic(mesh.vertices(), this.into_any()), |
| 170 | } |
| 171 | } |
| 172 | |
| 173 | /// The `Mx3` array of vertex indices per triangle |
| 174 | #[getter] |
no test coverage detected