当前位置:网站首页>Projection point of point on line
Projection point of point on line
2022-06-30 07:34:00 【RobotLife】
Linear equation :
a x + b y + c = 0 ax + by + c = 0 ax+by+c=0
spot :
( x 0 , y 0 ) (x_0, y_0) (x0,y0)
First find the normal equation as :
b x − a y + ( − b x 0 + a y 0 ) = 0 bx-ay+(-bx_0+ay_0) = 0 bx−ay+(−bx0+ay0)=0
By finding the intersection of the line and the normal, that is, the projection point of the point on the line , namely :
( b ( − b x 0 + a y 0 ) + a c − a 2 − b 2 , b c − a ( − b x 0 + a y 0 ) − a 2 − b 2 ) (\frac{b(-bx_0+ay_0) + ac}{-a^2 - b^2}, \frac{bc - a(-bx_0 + ay_0)}{-a^2 - b^2}) (−a2−b2b(−bx0+ay0)+ac,−a2−b2bc−a(−bx0+ay0))
reference :
The intersection of two straight lines :https://blog.csdn.net/RobotLife/article/details/114884084
边栏推荐
- Can introduction
- Stm32g0 and FreeRTOS learning summary
- Tencent and Fudan University "2021-2022 yuan universe report" with 102 yuan universe collections
- Application of stack -- using stack to realize bracket matching (C language implementation)
- Proteus catalog component names and Chinese English cross reference
- STM32 register on LED
- Graphic explanation pads update PCB design basic operation
- Video player (II): video decoding
- All errors reported by NPM
- uniapp图片下方加标签标图片
猜你喜欢

線程池——C語言

Application of stack -- using stack to realize bracket matching (C language implementation)

动态内存管理

Local unloading traffic of 5g application

Assembly learning register

网络安全-路由原理

Thread pool - C language

Basic knowledge points

Analysys analysis: online audio content consumption market analysis 2022

视频播放器(一):流程
随机推荐
Basic operation command
C language implementation of chain stack (without leading node)
Private method of single test calling object
Raspberry pie trivial configuration
TC397 QSPI(CPU)
Network security - packet capture and IP packet header analysis
网络安全-抓包和IP包头分析
Network, network card and IP configuration
Swiftui creates a beautiful custom press feedback button
Ad\dxp how to solve the problem of not knowing the schematic Library
Directory of software
实验一、综合实验【Process on】
单测调用对象的私有方法
Experiment 1: comprehensive experiment [process on]
1、 Output debugging information: makefile file debugging information $(warning "tests" $(mkfile\u path)); makefile file path
STM32 key control LED
Final review -php learning notes 8-mysql database
03 - programming framework: Division of application layer, middle layer and driver layer in bare metal programming
How to quickly delete routing in Ad
Stepper motor