<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://www.zhuzhugst.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://www.zhuzhugst.com/feed.php">
        <title>张叶安的博客 - 算法几何</title>
        <description></description>
        <link>https://www.zhuzhugst.com/</link>
        <image rdf:resource="https://www.zhuzhugst.com/lib/exe/fetch.php?media=logo.png" />
       <dc:date>2026-04-22T00:40:29+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://www.zhuzhugst.com/doku.php?id=%E7%AE%97%E6%B3%95%E5%87%A0%E4%BD%95:%E5%87%B9%E5%87%B8%E8%A7%92%E5%88%A4%E6%96%AD&amp;rev=1766980737&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://www.zhuzhugst.com/lib/exe/fetch.php?media=logo.png">
        <title>张叶安的博客</title>
        <link>https://www.zhuzhugst.com/</link>
        <url>https://www.zhuzhugst.com/lib/exe/fetch.php?media=logo.png</url>
    </image>
    <item rdf:about="https://www.zhuzhugst.com/doku.php?id=%E7%AE%97%E6%B3%95%E5%87%A0%E4%BD%95:%E5%87%B9%E5%87%B8%E8%A7%92%E5%88%A4%E6%96%AD&amp;rev=1766980737&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-12-29T03:58:57+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>凹凸角判断</title>
        <link>https://www.zhuzhugst.com/doku.php?id=%E7%AE%97%E6%B3%95%E5%87%A0%E4%BD%95:%E5%87%B9%E5%87%B8%E8%A7%92%E5%88%A4%E6%96%AD&amp;rev=1766980737&amp;do=diff</link>
        <description>原理解析：利用叉积 Z 分量判断凸凹性

在计算几何中，判断一个多边形的顶点是凸（Convex）还是凹（Concave），最常用的方法是利用向量的叉积（Cross Product）。

这段代码的核心逻辑如下：
$\vec{A}$$\vec{B}$$\vec{C}$$$ \vec{C} = \vec{A} \times \vec{B} $$$\vec{C}$$\vec{A}$$\vec{B}$$\vec{A}$$\vec{B}$$\vec{A} = (x_1, y_1, 0)$$\vec{B} = (x_2, y_2, 0)$$\vec{C}$$$ \vec{C} = (0, 0, x_1 y_2 - x_2 y_1) $$$(x_1 y_2 - x_2 y_1)$$\vec{A}$$\vec{B}$</description>
    </item>
</rdf:RDF>
