Learning Summary- ry. Vector Cross Product

Source: Internet
Author: User

Learning Summary- ry. Vector Cross Product

Assume there are vectors P (x1, y1) and Q (x2, y2)
The cross product of vector P and Q is expressed as P × Q.
And P × Q = x1? Y2? X2? Y1

Properties of cross product:
A very important feature is to use its symbols to determine the clockwise relationship between the two vectors:
If P × Q> 0, P is clockwise in Q;
If P × Q <0, P is in the counterclockwise direction of Q;
If P × Q = 0, P and Q are in the same line, but they may be reversed in the same direction.

· Clockwise

· Counterclockwise

Apply, give a sequence of points, and determine whether it is clockwise or counterclockwise: Calculate the cross product of two consecutive points, including the first and last, find their sum, greater than 0 is clockwise, if the value is less than 0, it is counter-clockwise.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.