<?xml version="1.0" encoding="utf-8"?>
<KinoveaPostureTool>
  <FormatVersion>1.1</FormatVersion>
  <Id>06bed28a-9e9f-45b2-bb50-125f5ed68cf0</Id>
  <Name>Genu</Name>
  <DisplayName>DrawingName_Genu</DisplayName>
  
  <!-- Data -->
  <Points>
    <Point value="100;100" />
    <Point value="150;100" />
    <Point value="160;120" />
    <Point value="125;130" />
    <Point value="90;120" />
    <Point value="90;170" />
    <Point value="90;220" />
    <Point value="70;230" />
    <Point value="160;170" />
    <Point value="160;220" />
    <Point value="180;230" />
  </Points>
  <Segments>
    <Segment point1="0" point2="1" style="Solid" width="2"/>
    <Segment point1="1" point2="2" style="Solid" width="2"/>
    <Segment point1="2" point2="3" style="Solid" width="2"/>
    <Segment point1="3" point2="4" style="Solid" width="2"/>
    <Segment point1="4" point2="0" style="Solid" width="2"/>
    <Segment point1="4" point2="5" style="Solid" width="2"/>
    <Segment point1="5" point2="6" style="Solid" width="2"/>
    <Segment point1="6" point2="7" style="Solid" width="2"/>
    <Segment point1="2" point2="8" style="Solid" width="2"/>
    <Segment point1="8" point2="9" style="Solid" width="2"/>
    <Segment point1="9" point2="10" style="Solid" width="2"/>
  </Segments>

  <!-- Interaction -->
  <Handles>
    <!-- Left knee -->
    <Handle type="Point" reference="5">
      <Constraint type="DistanceToPoint">
        <DistanceToPoint point="4"/>
      </Constraint>
      <Impacts>
        <Pivot pivot="4" impacted="6;7"/>
      </Impacts>
    </Handle>
    <!-- Left ankle -->
    <Handle type="Point" reference="6">
      <Constraint type="DistanceToPoint">
        <DistanceToPoint point="5"/>
      </Constraint>
      <Impacts>
        <Pivot pivot="5" impacted="7"/>
      </Impacts>
    </Handle>
    <!-- Left foot -->
    <Handle type="Point" reference="7">
      <Constraint type="DistanceToPoint">
        <DistanceToPoint point="6"/>
      </Constraint>
    </Handle>
    
    <!-- Right knee -->
    <Handle type="Point" reference="8">
      <Constraint type="DistanceToPoint">
        <DistanceToPoint point="2"/>
      </Constraint>
      <Impacts>
        <Pivot pivot="2" impacted="9;10"/>
      </Impacts>
    </Handle>
    <!-- Right ankle -->
    <Handle type="Point" reference="9">
      <Constraint type="DistanceToPoint">
        <DistanceToPoint point="8"/>
      </Constraint>
      <Impacts>
        <Pivot pivot="8" impacted="10"/>
      </Impacts>
    </Handle>
    <!-- Right foot -->
    <Handle type="Point" reference="10">
      <Constraint type="DistanceToPoint">
        <DistanceToPoint point="9"/>
      </Constraint>
    </Handle>
  </Handles>
  <HitZone>
    <Polygon points="0;1;2;3;4"/>
  </HitZone>
  
</KinoveaPostureTool>