<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="/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="/feed.php">
        <title>Documentation Center public:dson_spec:object_definitions:graft</title>
        <description></description>
        <link>/</link>
        <image rdf:resource="/lib/tpl/dazdoccenter/images/favicon.ico" />
       <dc:date>2026-04-14T19:36:12+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="/public/dson_spec/object_definitions/graft/start"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="/lib/tpl/dazdoccenter/images/favicon.ico">
        <title>Documentation Center</title>
        <link>/</link>
        <url>/lib/tpl/dazdoccenter/images/favicon.ico</url>
    </image>
    <item rdf:about="/public/dson_spec/object_definitions/graft/start">
        <dc:format>text/html</dc:format>
        <dc:date>2012-04-02T21:22:53+00:00</dc:date>
        <title>graft</title>
        <link>/public/dson_spec/object_definitions/graft/start</link>
        <description>
&lt;h1 id=&quot;graft&quot;&gt;graft&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;
&lt;!-- EDIT1 PLUGIN_WRAP_START [0-] --&gt;&lt;div class=&quot;wrap_center wrap_round wrap_todo plugin_wrap&quot; style=&quot;width: 80%;&quot;&gt;
&lt;p&gt;
* = Details
&lt;/p&gt;
&lt;/div&gt;&lt;!-- EDIT2 PLUGIN_WRAP_END [0-] --&gt;
&lt;/div&gt;

&lt;h2 id=&quot;description&quot;&gt;Description&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Definition for how to graft one figure&amp;#039;s geometry to another.
&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&quot;parent_objects&quot;&gt;Parent Objects&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;/public/dson_spec/object_definitions/geometry/start&quot; class=&quot;wikilink1&quot; title=&quot;public:dson_spec:object_definitions:geometry:start&quot;&gt;geometry&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h2 id=&quot;properties&quot;&gt;Properties&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;table sectionedit3&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt; Name &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt; Description &lt;/th&gt;&lt;th class=&quot;col2&quot;&gt; Default &lt;/th&gt;&lt;th class=&quot;col3&quot;&gt; Required &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; vertex_count &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; The number of vertices expected to exist in the target geometry. &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; None &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; yes &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; poly_count &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; The number of polygons expected to exist in the target geometry. &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; None &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; yes &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; vertex_pairs &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; A &lt;a href=&quot;/public/dson_spec/format_description/data_types/start&quot; class=&quot;wikilink1&quot; title=&quot;public:dson_spec:format_description:data_types:start&quot;&gt;int2_array&lt;/a&gt; of vertex index pairs.  The first index being the index into the source vertex list and the second index being the index into the target geometry vertex list. &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; N/A &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; yes &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; hidden_polys &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; A &lt;a href=&quot;/public/dson_spec/format_description/data_types/start&quot; class=&quot;wikilink1&quot; title=&quot;public:dson_spec:format_description:data_types:start&quot;&gt;int_array&lt;/a&gt; of polygon indices on the target geometry that should be hidden. &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; N/A &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; yes &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT3 TABLE [272-932] --&gt;
&lt;/div&gt;

&lt;h2 id=&quot;details&quot;&gt;Details&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
The &lt;em&gt;vertex_pairs&lt;/em&gt; property is composed of an array of vertex pairs where the first element in each pair is the index into the source geometry vertex array (i.e. the geometry that contains this snap_target definition), and the second element in each pair is the index into the vertex array for the target geometry.
&lt;/p&gt;

&lt;p&gt;
The &lt;em&gt;hidden_polys&lt;/em&gt; indices indicate which polygons on the target geometry should be hidden when the geometry for the snapping is attached.
&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&quot;example&quot;&gt;Example&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;{
    &amp;quot;vertex_count&amp;quot; : 345,
    &amp;quot;poly_count&amp;quot; : 321,
    &amp;quot;vertex_pairs&amp;quot; : {
      &amp;quot;count&amp;quot; : 3,
      &amp;quot;values&amp;quot; : [ [ 2, 334 ], [ 3, 723 ], [ 6, 219 ] ]
    },
    &amp;quot;hidden_polys&amp;quot; : {
      &amp;quot;count&amp;quot; : 6,
      &amp;quot;values&amp;quot; : [ 67, 23, 87, 89, 12, 90 ]
    }
}&lt;/pre&gt;

&lt;/div&gt;
</description>
    </item>
</rdf:RDF>
