当前位置:网站首页>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
边栏推荐
- Thread network
- Record the problem that the system file cannot be modified as an administrator during the development process
- 视频播放器(二):视频解码
- Xiashuo think tank: 42 reports on planet update today (including 23 planning cases)
- Commands and permissions for directories and files
- Swiftui creates a beautiful custom press feedback button
- 342 maps covering exquisite knowledge, one of which is classic and pasted on the wall
- 期末复习-PHP学习笔记11-PHP-PDO数据库抽象层.
- Adjacency matrix representation of weighted undirected graph (implemented in C language)
- 记录开发过程中无法使用管理员身份修改系统文件问题
猜你喜欢

03 - programming framework: Division of application layer, middle layer and driver layer in bare metal programming

视频播放器(二):视频解码

Test enumeration types with STM32 platform running RT thread

Network security - packet capture and IP packet header analysis

Halcon: read the camera and binary it

Basic knowledge of compiling learning records

期末复习-PHP学习笔记7-PHP与web页面交互

Final review -php learning notes 9-php session control

String application -- string violent matching (implemented in C language)

STM32 register
随机推荐
Variable storage unit and pointer
The most convenient serial port screen chip scheme designed at the charging pile in China
STM32 register
Xiashuo think tank: 28 updates of the planet reported today (including the information of flirting with girls and Han Tuo on Valentine's day)
视频播放器(一):流程
Similarities and differences of differential signal, common mode signal and single ended signal (2022.2.14)
MAX6675 usage notes
LabVIEW program code update is slow
STM32 register on LED
FreeRTOS timer group
1.someip introduction
Log service management
Label the picture below the uniapp picture
期末复习-PHP学习笔记8-mysql数据库
动态内存管理
QT elementary notes
套接字socket编程——UDP
LabVIEW程序代码更新缓慢
C language operators
Video player (II): video decoding