首页>
外国专利>
Method for calculating intersection of triangle and line segment and its program
Method for calculating intersection of triangle and line segment and its program
展开▼
机译:三角线段交点的计算方法及其程序
展开▼
页面导航
摘要
著录项
相似文献
摘要
P0, P1, the method of calculating the triangle and the intersection designates P2 as 3 apexes in the line segment which ties A and B. P0 starting point and P0 P1 single spool (the U axis) unit length, P0 P2 the second axis (V axis) unit length, the unit vector of P0 P1 p0p2 the third axis (the N axis) with the system of coordinates R which is done is set, the conversion matrix M which converts coordinate of the point with usual system of coordinates to the coordinate value of system of coordinates R is calculated, u of both ends A in the line segment and B, v, n coordinate value is calculated. In addition, u both ends A and B, v, presence of intersection of triangle is judged from n coordinate value, u of that intersection, v coordinate value is calculated when it crosses, u of the intersection, presence of the intersection inside triangle is judged from v coordinate value.
展开▼
机译:P 0 Sub>,P 1 Sub>,计算三角形和交点的方法将P 2 Sub>指定为连接A和A的线段中的3个顶点B. P 0 Sub>起点和P 0 Sub> P 1 Sub>单线轴(U轴)单位长度,P 0 Sub > P 2第二轴(V轴)的单位长度,P 0 Sub> P 1 Sub> p0p2的单位向量第三轴(N轴) )设置完成的坐标系R,计算将点的坐标与常规坐标系转换为坐标R的坐标值的转换矩阵M,线段两端A的u计算B,v,n坐标值。另外,u的两端A,B,v,根据n坐标值判断该三角形的交点,该交点的u,相交时计算v坐标值,该交点的u,三角形内的交点为从v坐标值判断。
展开▼