Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
3D 三角形的中点是连接每个顶点及其对边中点的三个线段的交点。
假设一个 3D 三角形由三个Vector3D实例定义。如何Vector3D使用相同的算法获得中间点(形式)?
Vector3D
谢谢!:)
diagonal1 = (1-t)*A + t*(B+C)/2 diagonal2 = (1-s)*B + s*(A+C)/2 intersection at t = s = 2/3 which gives point p = (A+B+C)/3