{"id":355,"date":"2011-09-08T19:50:01","date_gmt":"2011-09-08T19:50:01","guid":{"rendered":"http:\/\/devnot.wordpress.com\/?p=355"},"modified":"2019-12-15T15:16:25","modified_gmt":"2019-12-15T14:16:25","slug":"check-whether-two-2d-vectors-are-parallel","status":"publish","type":"post","link":"https:\/\/thomas-jansen.eu\/?p=355","title":{"rendered":"Check whether two 2d direction vectors are parallel"},"content":{"rendered":"\n\n\n<p>The cross product of two parallel direction vectors has zero length. The magnitude (length) of the cross product is the area enclosed by the vectors. Two parallel direction vectors obviously do not have a surface since they can be considered the same origin.<\/p>\n\n\n\n<p>In 2D the z axis is the normal to the x and y axis. The z-axis is calculated by using the cross vector of both vectors. <\/p>\n\n\n\n<p><br>The cross vector Z-component can be calculated using:<br><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/thomas-jansen.eu\/wp-content\/ql-cache\/quicklatex.com-5a54918ac23cc9b5c83a47af79846434_l3.svg\" class=\"ql-img-inline-formula \" alt=\"&#122;&#32;&#61;&#32;&#65;&#95;&#120;&#32;&#66;&#95;&#121;&#32;&#45;&#32;&#65;&#95;&#121;&#32;&#66;&#95;&#120;\" title=\"Rendered by QuickLaTeX.com\" height=\"18\" width=\"140\" style=\"vertical-align: -6px;\"\/><\/p>\n\n\n\n<p>if <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/thomas-jansen.eu\/wp-content\/ql-cache\/quicklatex.com-ec5583fa081a1e03212c151e3c222412_l3.svg\" class=\"ql-img-inline-formula \" alt=\"&#122;\" title=\"Rendered by QuickLaTeX.com\" height=\"8\" width=\"9\" style=\"vertical-align: 0px;\"\/> is very small, the vectors are parallel.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The cross product of two parallel direction vectors has zero length. The magnitude (length) of the cross product is the area enclosed by the vectors. Two parallel direction vectors obviously do not have a surface since they can be considered the same origin. In 2D the z axis is the normal to the x and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-355","post","type-post","status-publish","format-standard","hentry","category-geometry"],"_links":{"self":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/posts\/355","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=355"}],"version-history":[{"count":3,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/posts\/355\/revisions"}],"predecessor-version":[{"id":614,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=\/wp\/v2\/posts\/355\/revisions\/614"}],"wp:attachment":[{"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=355"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=355"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thomas-jansen.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=355"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}