| Electronic Components Datasheet Search |
|
DFR0650 Datasheet(PDF) 22 Page - DFROBOT |
|
|
|||||||||||||||||||||||||||||
DFR0650 Datasheet(HTML) 22 Page - DFROBOT |
|
22 / 25 page ![]() 2023/10/12 10:58 DFRobot Monochrome_0.96_128x64_IIC_SPI_OLED_Display_SKU_DFR0650 https://wiki.dfrobot.com/Monochrome_0.96_128x64_IIC_SPI_OLED_Display_SKU_DFR0650 22/25 } /* ! * @brief Convert the yz in the three-dimensional coordinate system Oxyz into the v coordinate inside * the two-dimensional coordinate system Ouv * @param y in Oxyz * @param z in Oxyz * @return v in Ouv */ int OxyzToOv(double y,double z){ return (int)((y + 35) - z*0.35); } /*! * @brief Rotate the coordinates of all points of the entire 3D graphic around the Z axis * @param angle represents the angle to rotate * * z rotation (z unchanged) x3 = x2 * cosb - y1 * sinb y3 = y1 * cosb + x2 * sinb z3 = z2 */ void rotate(double angle) { double rad, cosa, sina, Xn, Yn; rad = angle * PI / 180; cosa = cos(rad); sina = sin(rad); for (int i = 0; i < 4; i++) { Xn = (tetrahedron[i][0] * cosa) - (tetrahedron[i][1] * sina); Yn = (tetrahedron[i][0] * sina) + (tetrahedron[i][1] * cosa); //Store converted coordinates into an array of coordinates //Because it rotates around the Z-axis, the coordinates of the point z-axis remain unchanged tetrahedron[i][0] = Xn; tetrahedron[i][1] = Yn; |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |