<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>OCC.gp module &mdash; pythonocc API 0.17.3 documentation</title>
  

  
  
  
  

  

  
  
    

  

  
  
    <link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
  

  

  
        <link rel="index" title="Index"
              href="genindex.html"/>
        <link rel="search" title="Search" href="search.html"/>
    <link rel="top" title="pythonocc API 0.17.3 documentation" href="index.html"/> 

  
  <script src="_static/js/modernizr.min.js"></script>

</head>

<body class="wy-body-for-nav" role="document">

   
  <div class="wy-grid-for-nav">

    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search">
          

          
            <a href="index.html" class="icon icon-home"> pythonocc API
          

          
          </a>

          
            
            
              <div class="version">
                0.17.3
              </div>
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <!-- Local TOC -->
              <div class="local-toc"><ul>
<li><a class="reference internal" href="#">OCC.gp module</a></li>
</ul>
</div>
            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="index.html">pythonocc API</a>
        
      </nav>


      
      <div class="wy-nav-content">
        <div class="rst-content">
          















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="index.html">Docs</a> &raquo;</li>
        
      <li>OCC.gp module</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
            <a href="_sources/OCC.gp.rst.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <div class="section" id="occ-gp-module">
<h1>OCC.gp module<a class="headerlink" href="#occ-gp-module" title="Permalink to this headline">¶</a></h1>
<span class="target" id="module-OCC.gp"></span><dl class="class">
<dt id="OCC.gp.SwigPyIterator">
<em class="property">class </em><code class="descname">SwigPyIterator</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.SwigPyIterator" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<dl class="method">
<dt id="OCC.gp.SwigPyIterator.advance">
<code class="descname">advance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.SwigPyIterator.advance" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.gp.SwigPyIterator.copy">
<code class="descname">copy</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.SwigPyIterator.copy" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.gp.SwigPyIterator.decr">
<code class="descname">decr</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.SwigPyIterator.decr" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.gp.SwigPyIterator.distance">
<code class="descname">distance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.SwigPyIterator.distance" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.gp.SwigPyIterator.equal">
<code class="descname">equal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.SwigPyIterator.equal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.gp.SwigPyIterator.incr">
<code class="descname">incr</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.SwigPyIterator.incr" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.gp.SwigPyIterator.next">
<code class="descname">next</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.SwigPyIterator.next" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="method">
<dt id="OCC.gp.SwigPyIterator.previous">
<code class="descname">previous</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.SwigPyIterator.previous" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt id="OCC.gp.SwigPyIterator.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.SwigPyIterator.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.SwigPyIterator.value">
<code class="descname">value</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.SwigPyIterator.value" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp">
<em class="property">class </em><code class="descname">gp</code><a class="headerlink" href="#OCC.gp.gp" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<dl class="staticmethod">
<dt id="OCC.gp.gp.DX">
<em class="property">static </em><code class="descname">DX</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.DX" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a unit vector with the combination (1,0,0)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp.DX2d">
<em class="property">static </em><code class="descname">DX2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.DX2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a unit vector with the combinations (1,0)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d">gp_Dir2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp.DY">
<em class="property">static </em><code class="descname">DY</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.DY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a unit vector with the combination (0,1,0)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp.DY2d">
<em class="property">static </em><code class="descname">DY2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.DY2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a unit vector with the combinations (0,1)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d">gp_Dir2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp.DZ">
<em class="property">static </em><code class="descname">DZ</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.DZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a unit vector with the combination (0,0,1)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp.OX">
<em class="property">static </em><code class="descname">OX</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.OX" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies an axis where its origin is Origin and its unit vector coordinates X = 1.0, Y = Z = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp.OX2d">
<em class="property">static </em><code class="descname">OX2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.OX2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies an axis where its origin is Origin2d and its unit vector coordinates are: X = 1.0, Y = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp.OY">
<em class="property">static </em><code class="descname">OY</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.OY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies an axis where its origin is Origin and its unit vector coordinates Y = 1.0, X = Z = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp.OY2d">
<em class="property">static </em><code class="descname">OY2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.OY2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies an axis where its origin is Origin2d and its unit vector coordinates are Y = 1.0, X = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp.OZ">
<em class="property">static </em><code class="descname">OZ</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.OZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies an axis where its origin is Origin and its unit vector coordinates Z = 1.0, Y = X = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp.Origin">
<em class="property">static </em><code class="descname">Origin</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.Origin" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies a Cartesian point with coordinates X = Y = Z = 0.0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp.Origin2d">
<em class="property">static </em><code class="descname">Origin2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.Origin2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies a Cartesian point with coordinates X = Y = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp.Resolution">
<em class="property">static </em><code class="descname">Resolution</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.Resolution" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Method of package gp //! In geometric computations, defines the tolerance criterion used to determine when two numbers can be considered equal. Many class functions use this tolerance criterion, for example, to avoid division by zero in geometric computations. In the documentation, tolerance criterion is always referred to as gp::Resolution().</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp.XOY">
<em class="property">static </em><code class="descname">XOY</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.XOY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies a coordinate system where its origin is Origin, and its &#8216;main Direction&#8217; and &#8216;X Direction&#8217; coordinates Z = 1.0, X = Y =0.0 and X direction coordinates X = 1.0, Y = Z = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp.YOZ">
<em class="property">static </em><code class="descname">YOZ</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.YOZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies a coordinate system where its origin is Origin, and its &#8216;main Direction&#8217; and &#8216;X Direction&#8217; coordinates X = 1.0, Z = Y =0.0 and X direction coordinates Y = 1.0, X = Z = 0.0 In 2D space</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp.ZOX">
<em class="property">static </em><code class="descname">ZOX</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp.ZOX" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies a coordinate system where its origin is Origin, and its &#8216;main Direction&#8217; and &#8216;X Direction&#8217; coordinates Y = 1.0, X = Z =0.0 and X direction coordinates Z = 1.0, X = Y = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Ax1">
<em class="property">class </em><code class="descname">gp_Ax1</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates an axis object representing Z axis of the reference co-ordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>P is the location point and V is the direction of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Ax1.Angle">
<code class="descname">Angle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.Angle" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the angular value, in radians, between &lt;self&gt;.Direction() and &lt;Other&gt;.Direction(). Returns the angle between 0 and 2*PI radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.Direction">
<code class="descname">Direction</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.Direction" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the direction of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.IsCoaxial">
<code class="descname">IsCoaxial</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.IsCoaxial" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if : . the angle between &lt;self&gt; and &lt;Other&gt; is lower or equal to &lt;AngularTolerance&gt; and . the distance between &lt;self&gt;.Location() and &lt;Other&gt; is lower or equal to &lt;LinearTolerance&gt; and . the distance between &lt;Other&gt;.Location() and &lt;self&gt; is lower or equal to LinearTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.IsNormal">
<code class="descname">IsNormal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.IsNormal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the direction of the &lt;self&gt; and &lt;Other&gt; are normal to each other. That is, if the angle between the two axes is equal to Pi/2. Note: the tolerance criterion is given by AngularTolerance..</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.IsOpposite">
<code class="descname">IsOpposite</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.IsOpposite" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the direction of &lt;self&gt; and &lt;Other&gt; are parallel with opposite orientation. That is, if the angle between the two axes is equal to Pi. Note: the tolerance criterion is given by AngularTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.IsParallel">
<code class="descname">IsParallel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.IsParallel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the direction of &lt;self&gt; and &lt;Other&gt; are parallel with same orientation or opposite orientation. That is, if the angle between the two axes is equal to 0 or Pi. Note: the tolerance criterion is given by AngularTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the location point of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of an axis placement with respect to the point P which is the center of the symmetry and assigns the result to this axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of an axis placement with respect to an axis placement which is the axis of the symmetry and assigns the result to this axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of an axis placement with respect to a plane. The axis placement &lt;A2&gt; locates the plane of the symmetry : (Location, XDirection, YDirection) and assigns the result to this axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of an axis placement with respect to the point P which is the center of the symmetry and creates a new axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of an axis placement with respect to an axis placement which is the axis of the symmetry and creates a new axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of an axis placement with respect to a plane. The axis placement &lt;A2&gt; locates the plane of the symmetry : (Location, XDirection, YDirection) and creates a new axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.Reverse">
<code class="descname">Reverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.Reverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the unit vector of this axis. and assigns the result to this axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.Reversed">
<code class="descname">Reversed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.Reversed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the unit vector of this axis and creates a new one.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates this axis at an angle Ang (in radians) about the axis A1 and assigns the result to this axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates this axis at an angle Ang (in radians) about the axis A1 and creates a new one.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.Scale" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Applies a scaling transformation to this axis with: - scale factor S, and - center P and assigns the result to this axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Applies a scaling transformation to this axis with: - scale factor S, and - center P and creates a new axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.SetDirection">
<code class="descname">SetDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.SetDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns V as the &#8216;Direction&#8217; of this axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns P as the origin of this axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.Transform" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Applies the transformation T to this axis. and assigns the result to this axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Applies the transformation T to this axis and creates a new one. //! Translates an axis plaxement in the direction of the vector &lt;V&gt;. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.Translate" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates this axis by the vector V, and assigns the result to this axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates this axis by: the vector (P1, P2) defined from point P1 to point P2. and assigns the result to this axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax1.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax1.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates this axis by the vector V, and creates a new one.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates this axis by: the vector (P1, P2) defined from point P1 to point P2. and creates a new one.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Ax1.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Ax1.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Ax2">
<em class="property">class </em><code class="descname">gp_Ax2</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates an object corresponding to the reference coordinate system (OXYZ).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates an axis placement with an origin P such that: - N is the Direction, and - the &#8216;X Direction&#8217; is normal to N, in the plane defined by the vectors (N, Vx): &#8216;X Direction&#8217; = (N ^ Vx) ^ N, Exception: raises ConstructionError if N and Vx are parallel (same or opposite orientation).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>N</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
<li><strong>Vx</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates - a coordinate system with an origin P, where V gives the &#8216;main Direction&#8217; (here, &#8216;X Direction&#8217; and &#8216;Y Direction&#8217; are defined automatically).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Ax2.Angle">
<code class="descname">Angle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.Angle" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the angular value, in radians, between the main direction of &lt;self&gt; and the main direction of &lt;Other&gt;. Returns the angle between 0 and PI in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.Axis">
<code class="descname">Axis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.Axis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the main axis of &lt;self&gt;. It is the &#8216;Location&#8217; point and the main &#8216;Direction&#8217;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.Direction">
<code class="descname">Direction</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.Direction" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the main direction of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.IsCoplanar">
<code class="descname">IsCoplanar</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.IsCoplanar" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns True if . the distance between &lt;self&gt; and the &#8216;Location&#8217; point of A1 is lower of equal to LinearTolerance and . the main direction of &lt;self&gt; and the direction of A1 are normal. Note: the tolerance criterion for angular equality is given by AngularTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the &#8216;Location&#8217; point (origin) of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs a symmetrical transformation of this coordinate system with respect to: - the point P, and assigns the result to this coordinate system. Warning This transformation is always performed on the origin. In case of a reflection with respect to a point: - the main direction of the coordinate system is not changed, and - the &#8216;X Direction&#8217; and the &#8216;Y Direction&#8217; are simply reversed In case of a reflection with respect to an axis or a plane: - the transformation is applied to the &#8216;X Direction&#8217; and the &#8216;Y Direction&#8217;, then - the &#8216;main Direction&#8217; is recomputed as the cross product &#8216;X Direction&#8217; ^ &#8216;Y Direction&#8217;. This maintains the right-handed property of the coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs a symmetrical transformation of this coordinate system with respect to: - the axis A1, and assigns the result to this coordinate systeme. Warning This transformation is always performed on the origin. In case of a reflection with respect to a point: - the main direction of the coordinate system is not changed, and - the &#8216;X Direction&#8217; and the &#8216;Y Direction&#8217; are simply reversed In case of a reflection with respect to an axis or a plane: - the transformation is applied to the &#8216;X Direction&#8217; and the &#8216;Y Direction&#8217;, then - the &#8216;main Direction&#8217; is recomputed as the cross product &#8216;X Direction&#8217; ^ &#8216;Y Direction&#8217;. This maintains the right-handed property of the coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs a symmetrical transformation of this coordinate system with respect to: - the plane defined by the origin, &#8216;X Direction&#8217; and &#8216;Y Direction&#8217; of coordinate system A2 and assigns the result to this coordinate systeme. Warning This transformation is always performed on the origin. In case of a reflection with respect to a point: - the main direction of the coordinate system is not changed, and - the &#8216;X Direction&#8217; and the &#8216;Y Direction&#8217; are simply reversed In case of a reflection with respect to an axis or a plane: - the transformation is applied to the &#8216;X Direction&#8217; and the &#8216;Y Direction&#8217;, then - the &#8216;main Direction&#8217; is recomputed as the cross product &#8216;X Direction&#8217; ^ &#8216;Y Direction&#8217;. This maintains the right-handed property of the coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs a symmetrical transformation of this coordinate system with respect to: - the point P, and creates a new one. Warning This transformation is always performed on the origin. In case of a reflection with respect to a point: - the main direction of the coordinate system is not changed, and - the &#8216;X Direction&#8217; and the &#8216;Y Direction&#8217; are simply reversed In case of a reflection with respect to an axis or a plane: - the transformation is applied to the &#8216;X Direction&#8217; and the &#8216;Y Direction&#8217;, then - the &#8216;main Direction&#8217; is recomputed as the cross product &#8216;X Direction&#8217; ^ &#8216;Y Direction&#8217;. This maintains the right-handed property of the coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs a symmetrical transformation of this coordinate system with respect to: - the axis A1, and creates a new one. Warning This transformation is always performed on the origin. In case of a reflection with respect to a point: - the main direction of the coordinate system is not changed, and - the &#8216;X Direction&#8217; and the &#8216;Y Direction&#8217; are simply reversed In case of a reflection with respect to an axis or a plane: - the transformation is applied to the &#8216;X Direction&#8217; and the &#8216;Y Direction&#8217;, then - the &#8216;main Direction&#8217; is recomputed as the cross product &#8216;X Direction&#8217; ^ &#8216;Y Direction&#8217;. This maintains the right-handed property of the coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs a symmetrical transformation of this coordinate system with respect to: - the plane defined by the origin, &#8216;X Direction&#8217; and &#8216;Y Direction&#8217; of coordinate system A2 and creates a new one. Warning This transformation is always performed on the origin. In case of a reflection with respect to a point: - the main direction of the coordinate system is not changed, and - the &#8216;X Direction&#8217; and the &#8216;Y Direction&#8217; are simply reversed In case of a reflection with respect to an axis or a plane: - the transformation is applied to the &#8216;X Direction&#8217; and the &#8216;Y Direction&#8217;, then - the &#8216;main Direction&#8217; is recomputed as the cross product &#8216;X Direction&#8217; ^ &#8216;Y Direction&#8217;. This maintains the right-handed property of the coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates an axis placement. &lt;A1&gt; is the axis of the rotation . Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Applies a scaling transformation on the axis placement. The &#8216;Location&#8217; point of the axisplacement is modified. Warnings : If the scale &lt;S&gt; is negative : . the main direction of the axis placement is not changed. . The &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; are reversed. So the axis placement stay right handed.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.SetAxis">
<code class="descname">SetAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.SetAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the origin and &#8216;main Direction&#8217; of the axis A1 to this coordinate system, then recomputes its &#8216;X Direction&#8217; and &#8216;Y Direction&#8217;. Note: The new &#8216;X Direction&#8217; is computed as follows: new &#8216;X Direction&#8217; = V1 ^(previous &#8216;X Direction&#8217; ^ V) where V is the &#8216;Direction&#8217; of A1. Exceptions Standard_ConstructionError if A1 is parallel to the &#8216;X Direction&#8217; of this coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.SetDirection">
<code class="descname">SetDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.SetDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the &#8216;main Direction&#8217; of this coordinate system, then recomputes its &#8216;X Direction&#8217; and &#8216;Y Direction&#8217;. Note: the new &#8216;X Direction&#8217; is computed as follows: new &#8216;X Direction&#8217; = V ^ (previous &#8216;X Direction&#8217; ^ V) Exceptions Standard_ConstructionError if V is parallel to the &#8216;X Direction&#8217; of this coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the &#8216;Location&#8217; point (origin) of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.SetXDirection">
<code class="descname">SetXDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.SetXDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the &#8216;Xdirection&#8217; of &lt;self&gt;. The main direction &#8216;Direction&#8217; is not modified, the &#8216;Ydirection&#8217; is modified. If &lt;Vx&gt; is not normal to the main direction then &lt;XDirection&gt; is computed as follows XDirection = Direction ^ (Vx ^ Direction). Exceptions Standard_ConstructionError if Vx or Vy is parallel to the &#8216;main Direction&#8217; of this coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Vx</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.SetYDirection">
<code class="descname">SetYDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.SetYDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the &#8216;Ydirection&#8217; of &lt;self&gt;. The main direction is not modified but the &#8216;Xdirection&#8217; is changed. If &lt;Vy&gt; is not normal to the main direction then &#8216;YDirection&#8217; is computed as follows YDirection = Direction ^ (&lt;Vy&gt; ^ Direction). Exceptions Standard_ConstructionError if Vx or Vy is parallel to the &#8216;main Direction&#8217; of this coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Vy</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms an axis placement with a Trsf. The &#8216;Location&#8217; point, the &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; are transformed with T. The resulting main &#8216;Direction&#8217; of &lt;self&gt; is the cross product between the &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; after transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates an axis plaxement in the direction of the vector &lt;V&gt;. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates an axis placement from the point &lt;P1&gt; to the point &lt;P2&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.XDirection">
<code class="descname">XDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.XDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the &#8216;XDirection&#8217; of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2.YDirection">
<code class="descname">YDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2.YDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the &#8216;YDirection&#8217; of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Ax2.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Ax2.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Ax22d">
<em class="property">class </em><code class="descname">gp_Ax22d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates an object representing the reference co-ordinate system (OXY).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a coordinate system with origin P and where: - Vx is the &#8216;X Direction&#8217;, and - the &#8216;Y Direction&#8217; is orthogonal to Vx and oriented so that the cross products Vx^&#8217;Y Direction&#8217; and Vx^Vy have the same sign. Raises ConstructionError if Vx and Vy are parallel (same or opposite orientation).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Vx</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </li>
<li><strong>Vy</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates - a coordinate system with origin P and &#8216;X Direction&#8217; V, which is: - right-handed if Sense is true (default value), or - left-handed if Sense is false</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </li>
<li><strong>Sense</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) &#8211; default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates - a coordinate system where its origin is the origin of A and its &#8216;X Direction&#8217; is the unit vector of A, which is: - right-handed if Sense is true (default value), or - left-handed if Sense is false.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
<li><strong>Sense</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) &#8211; default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Ax22d.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the &#8216;Location&#8217; point (origin) of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of an axis placement with respect to the point P which is the center of the symmetry. Warnings : The main direction of the axis placement is not changed. The &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; are reversed. So the axis placement stay right handed.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d">gp_Ax22d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of an axis placement with respect to an axis placement which is the axis of the symmetry. The transformation is performed on the &#8216;Location&#8217; point, on the &#8216;XDirection&#8217; and &#8216;YDirection&#8217;. The resulting main &#8216;Direction&#8217; is the cross product between the &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; after transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d">gp_Ax22d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates an axis placement. &lt;A1&gt; is the axis of the rotation . Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d">gp_Ax22d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Applies a scaling transformation on the axis placement. The &#8216;Location&#8217; point of the axisplacement is modified. Warnings : If the scale &lt;S&gt; is negative : . the main direction of the axis placement is not changed. . The &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; are reversed. So the axis placement stay right handed.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d">gp_Ax22d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.SetAxis">
<code class="descname">SetAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.SetAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the origin and the two unit vectors of the coordinate system A1 to this coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d"><em>gp_Ax22d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the &#8216;Location&#8217; point (origin) of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.SetXAxis">
<code class="descname">SetXAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.SetXAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the XAxis and YAxis (&#8216;Location&#8217; point and &#8216;Direction&#8217;) of &lt;self&gt;. The &#8216;YDirection&#8217; is recomputed in the same sense as before.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.SetXDirection">
<code class="descname">SetXDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.SetXDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns Vx to the &#8216;X Direction&#8217; of this coordinate system. The other unit vector of this coordinate system is recomputed, normal to Vx , without modifying the orientation (right-handed or left-handed) of this coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Vx</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.SetYAxis">
<code class="descname">SetYAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.SetYAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the XAxis and YAxis (&#8216;Location&#8217; point and &#8216;Direction&#8217;) of &lt;self&gt;. The &#8216;XDirection&#8217; is recomputed in the same sense as before.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.SetYDirection">
<code class="descname">SetYDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.SetYDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assignsr Vy to the &#8216;Y Direction&#8217; of this coordinate system. The other unit vector of this coordinate system is recomputed, normal to Vy, without modifying the orientation (right-handed or left-handed) of this coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Vy</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms an axis placement with a Trsf. The &#8216;Location&#8217; point, the &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; are transformed with T. The resulting main &#8216;Direction&#8217; of &lt;self&gt; is the cross product between the &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; after transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d">gp_Ax22d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates an axis plaxement in the direction of the vector &lt;V&gt;. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d">gp_Ax22d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates an axis placement from the point &lt;P1&gt; to the point &lt;P2&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d">gp_Ax22d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.XAxis">
<code class="descname">XAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.XAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns an axis, for which - the origin is that of this coordinate system, and - the unit vector is either the &#8216;X Direction&#8217; of this coordinate system. Note: the result is the &#8216;X Axis&#8217; of this coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.XDirection">
<code class="descname">XDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.XDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the &#8216;XDirection&#8217; of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d">gp_Dir2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.YAxis">
<code class="descname">YAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.YAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns an axis, for which - the origin is that of this coordinate system, and - the unit vector is either the &#8216;Y Direction&#8217; of this coordinate system. Note: the result is the &#8216;Y Axis&#8217; of this coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax22d.YDirection">
<code class="descname">YDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax22d.YDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the &#8216;YDirection&#8217; of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d">gp_Dir2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Ax22d.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Ax22d.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Ax2d">
<em class="property">class </em><code class="descname">gp_Ax2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates an axis object representing X axis of the reference co-ordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates an Ax2d. &lt;P&gt; is the &#8216;Location&#8217; point of the axis placement and V is the &#8216;Direction&#8217; of the axis placement.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Ax2d.Angle">
<code class="descname">Angle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.Angle" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the angle, in radians, between this axis and the axis Other. The value of the angle is between -Pi and Pi.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.Direction">
<code class="descname">Direction</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.Direction" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the direction of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d">gp_Dir2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.IsCoaxial">
<code class="descname">IsCoaxial</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.IsCoaxial" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if : . the angle between &lt;self&gt; and &lt;Other&gt; is lower or equal to &lt;AngularTolerance&gt; and . the distance between &lt;self&gt;.Location() and &lt;Other&gt; is lower or equal to &lt;LinearTolerance&gt; and . the distance between &lt;Other&gt;.Location() and &lt;self&gt; is lower or equal to LinearTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.IsNormal">
<code class="descname">IsNormal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.IsNormal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if this axis and the axis Other are normal to each other. That is, if the angle between the two axes is equal to Pi/2 or -Pi/2. Note: the tolerance criterion is given by AngularTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.IsOpposite">
<code class="descname">IsOpposite</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.IsOpposite" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if this axis and the axis Other are parallel, and have opposite orientations. That is, if the angle between the two axes is equal to Pi or -Pi. Note: the tolerance criterion is given by AngularTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.IsParallel">
<code class="descname">IsParallel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.IsParallel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if this axis and the axis Other are parallel, and have either the same or opposite orientations. That is, if the angle between the two axes is equal to 0, Pi or -Pi. Note: the tolerance criterion is given by AngularTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the origin of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of an axis placement with respect to the point P which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of an axis placement with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.Reverse">
<code class="descname">Reverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.Reverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the direction of &lt;self&gt; and assigns the result to this axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.Reversed">
<code class="descname">Reversed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.Reversed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes a new axis placement with a direction opposite to the direction of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates an axis placement. &lt;P&gt; is the center of the rotation . Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Applies a scaling transformation on the axis placement. The &#8216;Location&#8217; point of the axisplacement is modified. The &#8216;Direction&#8217; is reversed if the scale is negative.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.SetDirection">
<code class="descname">SetDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.SetDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the direction of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the &#8216;Location&#8217; point (origin) of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Locat</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms an axis placement with a Trsf.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax2d.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax2d.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates an axis placement in the direction of the vector &lt;V&gt;. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates an axis placement from the point &lt;P1&gt; to the point &lt;P2&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Ax2d.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Ax2d.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Ax3">
<em class="property">class </em><code class="descname">gp_Ax3</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates an object corresponding to the reference coordinate system (OXYZ).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a coordinate system from a right-handed coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a right handed axis placement with the &#8216;Location&#8217; point P and two directions, N gives the &#8216;Direction&#8217; and Vx gives the &#8216;XDirection&#8217;. Raises ConstructionError if N and Vx are parallel (same or opposite orientation).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>N</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
<li><strong>Vx</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates an axis placement with the &#8216;Location&#8217; point &lt;P&gt; and the normal direction &lt;V&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Ax3.Angle">
<code class="descname">Angle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Angle" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the angular value between the main direction of &lt;self&gt; and the main direction of &lt;Other&gt;. Returns the angle between 0 and PI in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.Ax2">
<code class="descname">Ax2</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Ax2" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes a right-handed coordinate system with the same &#8216;X Direction&#8217; and &#8216;Y Direction&#8217; as those of this coordinate system, then recomputes the &#8216;main Direction&#8217;. If this coordinate system is right-handed, the result returned is the same coordinate system. If this coordinate system is left-handed, the result is reversed.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.Axis">
<code class="descname">Axis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Axis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the main axis of &lt;self&gt;. It is the &#8216;Location&#8217; point and the main &#8216;Direction&#8217;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.Direct">
<code class="descname">Direct</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Direct" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the coordinate system is right-handed. i.e. XDirection().Crossed(YDirection()).Dot(Direction()) &gt; 0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.Direction">
<code class="descname">Direction</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Direction" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the main direction of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.IsCoplanar">
<code class="descname">IsCoplanar</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.IsCoplanar" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if . the distance between the &#8216;Location&#8217; point of &lt;self&gt; and &lt;Other&gt; is lower or equal to LinearTolerance and . the distance between the &#8216;Location&#8217; point of &lt;Other&gt; and &lt;self&gt; is lower or equal to LinearTolerance and . the main direction of &lt;self&gt; and the main direction of &lt;Other&gt; are parallel (same or opposite orientation).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns True if . the distance between &lt;self&gt; and the &#8216;Location&#8217; point of A1 is lower of equal to LinearTolerance and . the distance between A1 and the &#8216;Location&#8217; point of &lt;self&gt; is lower or equal to LinearTolerance and . the main direction of &lt;self&gt; and the direction of A1 are normal.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the &#8216;Location&#8217; point (origin) of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of an axis placement with respect to the point P which is the center of the symmetry. Warnings : The main direction of the axis placement is not changed. The &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; are reversed. So the axis placement stay right handed.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3">gp_Ax3</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of an axis placement with respect to an axis placement which is the axis of the symmetry. The transformation is performed on the &#8216;Location&#8217; point, on the &#8216;XDirection&#8217; and &#8216;YDirection&#8217;. The resulting main &#8216;Direction&#8217; is the cross product between the &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; after transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3">gp_Ax3</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of an axis placement with respect to a plane. The axis placement &lt;A2&gt; locates the plane of the symmetry : (Location, XDirection, YDirection). The transformation is performed on the &#8216;Location&#8217; point, on the &#8216;XDirection&#8217; and &#8216;YDirection&#8217;. The resulting main &#8216;Direction&#8217; is the cross product between the &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; after transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3">gp_Ax3</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates an axis placement. &lt;A1&gt; is the axis of the rotation . Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3">gp_Ax3</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Applies a scaling transformation on the axis placement. The &#8216;Location&#8217; point of the axisplacement is modified. Warnings : If the scale &lt;S&gt; is negative : . the main direction of the axis placement is not changed. . The &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; are reversed. So the axis placement stay right handed.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3">gp_Ax3</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.SetAxis">
<code class="descname">SetAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.SetAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the origin and &#8216;main Direction&#8217; of the axis A1 to this coordinate system, then recomputes its &#8216;X Direction&#8217; and &#8216;Y Direction&#8217;. Note: - The new &#8216;X Direction&#8217; is computed as follows: new &#8216;X Direction&#8217; = V1 ^(previous &#8216;X Direction&#8217; ^ V) where V is the &#8216;Direction&#8217; of A1. - The orientation of this coordinate system (right-handed or left-handed) is not modified. Raises ConstructionError if the &#8216;Direction&#8217; of &lt;A1&gt; and the &#8216;XDirection&#8217; of &lt;self&gt; are parallel (same or opposite orientation) because it is impossible to calculate the new &#8216;XDirection&#8217; and the new &#8216;YDirection&#8217;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.SetDirection">
<code class="descname">SetDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.SetDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the main direction of this coordinate system, then recomputes its &#8216;X Direction&#8217; and &#8216;Y Direction&#8217;. Note: - The new &#8216;X Direction&#8217; is computed as follows: new &#8216;X Direction&#8217; = V ^ (previous &#8216;X Direction&#8217; ^ V). - The orientation of this coordinate system (left- or right-handed) is not modified. Raises ConstructionError if &lt;V&lt; and the previous &#8216;XDirection&#8217; are parallel because it is impossible to calculate the new &#8216;XDirection&#8217; and the new &#8216;YDirection&#8217;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the &#8216;Location&#8217; point (origin) of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.SetXDirection">
<code class="descname">SetXDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.SetXDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the &#8216;Xdirection&#8217; of &lt;self&gt;. The main direction &#8216;Direction&#8217; is not modified, the &#8216;Ydirection&#8217; is modified. If &lt;Vx&gt; is not normal to the main direction then &lt;XDirection&gt; is computed as follows XDirection = Direction ^ (Vx ^ Direction). Raises ConstructionError if &lt;Vx&gt; is parallel (same or opposite orientation) to the main direction of &lt;self&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Vx</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.SetYDirection">
<code class="descname">SetYDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.SetYDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the &#8216;Ydirection&#8217; of &lt;self&gt;. The main direction is not modified but the &#8216;Xdirection&#8217; is changed. If &lt;Vy&gt; is not normal to the main direction then &#8216;YDirection&#8217; is computed as follows YDirection = Direction ^ (&lt;Vy&gt; ^ Direction). Raises ConstructionError if &lt;Vy&gt; is parallel to the main direction of &lt;self&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Vy</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms an axis placement with a Trsf. The &#8216;Location&#8217; point, the &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; are transformed with T. The resulting main &#8216;Direction&#8217; of &lt;self&gt; is the cross product between the &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; after transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3">gp_Ax3</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates an axis plaxement in the direction of the vector &lt;V&gt;. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3">gp_Ax3</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates an axis placement from the point &lt;P1&gt; to the point &lt;P2&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3">gp_Ax3</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.XDirection">
<code class="descname">XDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.XDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the &#8216;XDirection&#8217; of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.XReverse">
<code class="descname">XReverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.XReverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the X direction of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.YDirection">
<code class="descname">YDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.YDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the &#8216;YDirection&#8217; of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.YReverse">
<code class="descname">YReverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.YReverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the Y direction of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Ax3.ZReverse">
<code class="descname">ZReverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Ax3.ZReverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the Z direction of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Ax3.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Ax3.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Circ">
<em class="property">class </em><code class="descname">gp_Circ</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates an indefinite circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>A2 locates the circle and gives its orientation in 3D space. Warnings : It is not forbidden to create a circle with Radius = 0.0 Raises ConstructionError if Radius &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
<li><strong>Radius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Circ.Area">
<code class="descname">Area</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Area" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the area of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Axis">
<code class="descname">Axis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Axis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the main axis of the circle. It is the axis perpendicular to the plane of the circle, passing through the &#8216;Location&#8217; point (center) of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Contains">
<code class="descname">Contains</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Contains" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the point P is on the circumference. The distance between &lt;self&gt; and &lt;P&gt; must be lower or equal to LinearTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Distance">
<code class="descname">Distance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Distance" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the minimum of distance between the point P and any point on the circumference of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Length">
<code class="descname">Length</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Length" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the circumference of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the center of the circle. It is the &#8216;Location&#8217; point of the local coordinate system of the circle</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a circle with respect to the point P which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Circ" title="OCC.gp.gp_Circ">gp_Circ</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a circle with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Circ" title="OCC.gp.gp_Circ">gp_Circ</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a circle with respect to a plane. The axis placement A2 locates the plane of the of the symmetry : (Location, XDirection, YDirection).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Circ" title="OCC.gp.gp_Circ">gp_Circ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Position">
<code class="descname">Position</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Position" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the position of the circle. It is the local coordinate system of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Radius">
<code class="descname">Radius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Radius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the radius of this circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates a circle. A1 is the axis of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Circ" title="OCC.gp.gp_Circ">gp_Circ</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a circle. S is the scaling value. Warnings : If S is negative the radius stay positive but the &#8216;XAxis&#8217; and the &#8216;YAxis&#8217; are reversed as for an ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Circ" title="OCC.gp.gp_Circ">gp_Circ</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.SetAxis">
<code class="descname">SetAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.SetAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the main axis of the circle. It is the axis perpendicular to the plane of the circle. Raises ConstructionError if the direction of A1 is parallel to the &#8216;XAxis&#8217; of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the &#8216;Location&#8217; point (center) of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.SetPosition">
<code class="descname">SetPosition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.SetPosition" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the position of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.SetRadius">
<code class="descname">SetRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.SetRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies the radius of this circle. Warning. This class does not prevent the creation of a circle where Radius is null. Exceptions Standard_ConstructionError if Radius is negative.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Radius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.SquareDistance">
<code class="descname">SquareDistance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.SquareDistance" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the square distance between &lt;self&gt; and the point P.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a circle with the transformation T from class Trsf.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Circ" title="OCC.gp.gp_Circ">gp_Circ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a circle in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Circ" title="OCC.gp.gp_Circ">gp_Circ</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates a circle from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Circ" title="OCC.gp.gp_Circ">gp_Circ</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.XAxis">
<code class="descname">XAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.XAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the &#8216;XAxis&#8217; of the circle. This axis is perpendicular to the axis of the conic. This axis and the &#8216;Yaxis&#8217; define the plane of the conic.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ.YAxis">
<code class="descname">YAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ.YAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the &#8216;YAxis&#8217; of the circle. This axis and the &#8216;Xaxis&#8217; define the plane of the conic. The &#8216;YAxis&#8217; is perpendicular to the &#8216;Xaxis&#8217;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Circ.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Circ.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Circ2d">
<em class="property">class </em><code class="descname">gp_Circ2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>creates an indefinite circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>The location point of XAxis is the center of the circle. Warnings : It is not forbidden to create a circle with Radius = 0.0 Raises ConstructionError if Radius &lt; 0.0. Raised if Radius &lt; 0.0.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>XAxis</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
<li><strong>Radius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Sense</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) &#8211; default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Axis defines the Xaxis and Yaxis of the circle which defines the origin and the sense of parametrization. The location point of Axis is the center of the circle. Warnings : It is not forbidden to create a circle with Radius = 0.0 Raises ConstructionError if Radius &lt; 0.0. Raised if Radius &lt; 0.0.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Axis</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d"><em>gp_Ax22d</em></a>) &#8211; </li>
<li><strong>Radius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Area">
<code class="descname">Area</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Area" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the area of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Axis">
<code class="descname">Axis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Axis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the position of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d">gp_Ax22d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Coefficients">
<code class="descname">Coefficients</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Coefficients" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the normalized coefficients from the implicit equation of the circle : A * (X**2) + B * (Y**2) + 2*C*(X*Y) + 2*D*X + 2*E*Y + F = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>B</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>C</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>D</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>E</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>F</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Contains">
<code class="descname">Contains</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Contains" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Does &lt;self&gt; contain P ? Returns True if the distance between P and any point on the circumference of the circle is lower of equal to &lt;LinearTolerance&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Distance">
<code class="descname">Distance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Distance" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the minimum of distance between the point P and any point on the circumference of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.IsDirect">
<code class="descname">IsDirect</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.IsDirect" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if the local coordinate system is direct and false in the other case.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Length">
<code class="descname">Length</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Length" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>computes the circumference of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the location point (center) of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a circle with respect to the point P which is the center of the symmetry</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Circ2d" title="OCC.gp.gp_Circ2d">gp_Circ2d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a circle with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Circ2d" title="OCC.gp.gp_Circ2d">gp_Circ2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Position">
<code class="descname">Position</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Position" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the position of the circle. Idem Axis(me).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d">gp_Ax22d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Radius">
<code class="descname">Radius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Radius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the radius value of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Reverse">
<code class="descname">Reverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Reverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the orientation of the local coordinate system of this circle (the &#8216;Y Direction&#8217; is reversed) and therefore changes the implicit orientation of this circle. Reverse assigns the result to this circle,</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Reversed">
<code class="descname">Reversed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Reversed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the orientation of the local coordinate system of this circle (the &#8216;Y Direction&#8217; is reversed) and therefore changes the implicit orientation of this circle. Reversed creates a new circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Circ2d" title="OCC.gp.gp_Circ2d">gp_Circ2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates a circle. P is the center of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Circ2d" title="OCC.gp.gp_Circ2d">gp_Circ2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a circle. S is the scaling value. Warnings : If S is negative the radius stay positive but the &#8216;XAxis&#8217; and the &#8216;YAxis&#8217; are reversed as for an ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Circ2d" title="OCC.gp.gp_Circ2d">gp_Circ2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.SetAxis">
<code class="descname">SetAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.SetAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the X axis of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d"><em>gp_Ax22d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the location point (center) of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.SetRadius">
<code class="descname">SetRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.SetRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies the radius of this circle. This class does not prevent the creation of a circle where Radius is null. Exceptions Standard_ConstructionError if Radius is negative.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Radius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.SetXAxis">
<code class="descname">SetXAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.SetXAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the X axis of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.SetYAxis">
<code class="descname">SetYAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.SetYAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the Y axis of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.SquareDistance">
<code class="descname">SquareDistance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.SquareDistance" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the square distance between &lt;self&gt; and the point P.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a circle with the transformation T from class Trsf2d.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Circ2d" title="OCC.gp.gp_Circ2d">gp_Circ2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a circle in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Circ2d" title="OCC.gp.gp_Circ2d">gp_Circ2d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates a circle from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Circ2d" title="OCC.gp.gp_Circ2d">gp_Circ2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.XAxis">
<code class="descname">XAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.XAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the X axis of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Circ2d.YAxis">
<code class="descname">YAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Circ2d.YAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the Y axis of the circle. Reverses the direction of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Circ2d.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Circ2d.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Cone">
<em class="property">class </em><code class="descname">gp_Cone</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates an indefinite Cone.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates an infinite conical surface. A3 locates the cone in the space and defines the reference plane of the surface. Ang is the conical surface semi-angle between 0 and PI/2 radians. Radius is the radius of the circle in the reference plane of the cone. Raises ConstructionError . if Radius is lower than 0.0 . Ang &lt; Resolution from gp or Ang &gt;= (PI/2) - Resolution.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A3</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Radius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Cone.Apex">
<code class="descname">Apex</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Apex" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the cone&#8217;s top. The Apex of the cone is on the negative side of the symmetry axis of the cone.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.Axis">
<code class="descname">Axis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Axis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the symmetry axis of the cone.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.Coefficients">
<code class="descname">Coefficients</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Coefficients" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the coefficients of the implicit equation of the quadric in the absolute cartesian coordinates system : A1.X**2 + A2.Y**2 + A3.Z**2 + 2.(B1.X.Y + B2.X.Z + B3.Y.Z) + 2.(C1.X + C2.Y + C3.Z) + D = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>A2</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>A3</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>B1</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>B2</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>B3</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>C1</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>C2</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>C3</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>D</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.Direct">
<code class="descname">Direct</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Direct" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if the local coordinate system of this cone is right-handed.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the &#8216;Location&#8217; point of the cone.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a cone with respect to the point P which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Cone" title="OCC.gp.gp_Cone">gp_Cone</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a cone with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Cone" title="OCC.gp.gp_Cone">gp_Cone</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a cone with respect to a plane. The axis placement A2 locates the plane of the of the symmetry : (Location, XDirection, YDirection).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Cone" title="OCC.gp.gp_Cone">gp_Cone</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.Position">
<code class="descname">Position</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Position" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the local coordinates system of the cone.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3">gp_Ax3</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.RefRadius">
<code class="descname">RefRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.RefRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the radius of the cone in the reference plane.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates a cone. A1 is the axis of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Cone" title="OCC.gp.gp_Cone">gp_Cone</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a cone. S is the scaling value. The absolute value of S is used to scale the cone</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Cone" title="OCC.gp.gp_Cone">gp_Cone</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.SemiAngle">
<code class="descname">SemiAngle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.SemiAngle" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the half-angle at the apex of this cone.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.SetAxis">
<code class="descname">SetAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.SetAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the symmetry axis of the cone. Raises ConstructionError the direction of A1 is parallel to the &#8216;XDirection&#8217; of the coordinate system of the cone.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the location of the cone.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Loc</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.SetPosition">
<code class="descname">SetPosition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.SetPosition" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the local coordinate system of the cone. This coordinate system defines the reference plane of the cone.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A3</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.SetRadius">
<code class="descname">SetRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.SetRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the radius of the cone in the reference plane of the cone. Raised if R &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>R</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.SetSemiAngle">
<code class="descname">SetSemiAngle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.SetSemiAngle" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the semi-angle of the cone. Ang is the conical surface semi-angle ]0,PI/2[. Raises ConstructionError if Ang &lt; Resolution from gp or Ang &gt;= PI/2 - Resolution</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a cone with the transformation T from class Trsf.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Cone" title="OCC.gp.gp_Cone">gp_Cone</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a cone in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Cone" title="OCC.gp.gp_Cone">gp_Cone</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates a cone from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Cone" title="OCC.gp.gp_Cone">gp_Cone</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.UReverse">
<code class="descname">UReverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.UReverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the U parametrization of the cone reversing the YAxis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.VReverse">
<code class="descname">VReverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.VReverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the V parametrization of the cone reversing the ZAxis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.XAxis">
<code class="descname">XAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.XAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the XAxis of the reference plane.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cone.YAxis">
<code class="descname">YAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cone.YAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the YAxis of the reference plane.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Cone.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Cone.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Cylinder">
<em class="property">class </em><code class="descname">gp_Cylinder</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates a indefinite cylinder.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a cylinder of radius Radius, whose axis is the &#8216;main Axis&#8217; of A3. A3 is the local coordinate system of the cylinder. Raises ConstructionErrord if R &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A3</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </li>
<li><strong>Radius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Axis">
<code class="descname">Axis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Axis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the symmetry axis of the cylinder.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Coefficients">
<code class="descname">Coefficients</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Coefficients" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the coefficients of the implicit equation of the quadric in the absolute cartesian coordinate system : A1.X**2 + A2.Y**2 + A3.Z**2 + 2.(B1.X.Y + B2.X.Z + B3.Y.Z) + 2.(C1.X + C2.Y + C3.Z) + D = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>A2</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>A3</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>B1</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>B2</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>B3</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>C1</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>C2</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>C3</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>D</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Direct">
<code class="descname">Direct</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Direct" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if the local coordinate system of this cylinder is right-handed.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the &#8216;Location&#8217; point of the cylinder.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a cylinder with respect to the point P which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Cylinder" title="OCC.gp.gp_Cylinder">gp_Cylinder</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a cylinder with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Cylinder" title="OCC.gp.gp_Cylinder">gp_Cylinder</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a cylinder with respect to a plane. The axis placement A2 locates the plane of the of the symmetry : (Location, XDirection, YDirection).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Cylinder" title="OCC.gp.gp_Cylinder">gp_Cylinder</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Position">
<code class="descname">Position</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Position" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the local coordinate system of the cylinder.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3">gp_Ax3</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Radius">
<code class="descname">Radius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Radius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the radius of the cylinder.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates a cylinder. A1 is the axis of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Cylinder" title="OCC.gp.gp_Cylinder">gp_Cylinder</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a cylinder. S is the scaling value. The absolute value of S is used to scale the cylinder</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Cylinder" title="OCC.gp.gp_Cylinder">gp_Cylinder</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.SetAxis">
<code class="descname">SetAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.SetAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the symmetry axis of the cylinder. Raises ConstructionError if the direction of A1 is parallel to the &#8216;XDirection&#8217; of the coordinate system of the cylinder.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the location of the surface.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Loc</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.SetPosition">
<code class="descname">SetPosition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.SetPosition" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Change the local coordinate system of the surface.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A3</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.SetRadius">
<code class="descname">SetRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.SetRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies the radius of this cylinder. Exceptions Standard_ConstructionError if R is negative.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>R</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a cylinder with the transformation T from class Trsf.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Cylinder" title="OCC.gp.gp_Cylinder">gp_Cylinder</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a cylinder in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Cylinder" title="OCC.gp.gp_Cylinder">gp_Cylinder</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates a cylinder from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Cylinder" title="OCC.gp.gp_Cylinder">gp_Cylinder</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.UReverse">
<code class="descname">UReverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.UReverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the U parametrization of the cylinder reversing the YAxis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.VReverse">
<code class="descname">VReverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.VReverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the V parametrization of the plane reversing the Axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.XAxis">
<code class="descname">XAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.XAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the axis X of the cylinder.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Cylinder.YAxis">
<code class="descname">YAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Cylinder.YAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the axis Y of the cylinder.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Cylinder.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Cylinder.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_DX">
<code class="descname">gp_DX</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_DX" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a unit vector with the combination (1,0,0)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_DX2d">
<code class="descname">gp_DX2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_DX2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a unit vector with the combinations (1,0)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d">gp_Dir2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_DY">
<code class="descname">gp_DY</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_DY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a unit vector with the combination (0,1,0)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_DY2d">
<code class="descname">gp_DY2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_DY2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a unit vector with the combinations (0,1)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d">gp_Dir2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_DZ">
<code class="descname">gp_DZ</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_DZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns a unit vector with the combination (0,0,1)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Dir">
<em class="property">class </em><code class="descname">gp_Dir</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates a direction corresponding to X axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Normalizes the vector V and creates a direction. Raises ConstructionError if V.Magnitude() &lt;= Resolution.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a direction from a triplet of coordinates. Raises ConstructionError if Coord.Modulus() &lt;= Resolution from gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a direction with its 3 cartesian coordinates. Raises ConstructionError if Sqrt(Xv*Xv + Yv*Yv + Zv*Zv) &lt;= Resolution Modification of the direction&#8217;s coordinates If Sqrt (X*X + Y*Y + Z*Z) &lt;= Resolution from gp where X, Y ,Z are the new coordinates it is not possible to construct the direction and the method raises the exception ConstructionError.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Yv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Zv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Dir.Angle">
<code class="descname">Angle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.Angle" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the angular value in radians between &lt;self&gt; and &lt;Other&gt;. This value is always positive in 3D space. Returns the angle in the range [0, PI]</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.AngleWithRef">
<code class="descname">AngleWithRef</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.AngleWithRef" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the angular value between &lt;self&gt; and &lt;Other&gt;. &lt;VRef&gt; is the direction of reference normal to &lt;self&gt; and &lt;Other&gt; and its orientation gives the positive sense of rotation. If the cross product &lt;self&gt; ^ &lt;Other&gt; has the same orientation as &lt;VRef&gt; the angular value is positive else negative. Returns the angular value in the range -PI and PI (in radians). Raises DomainError if &lt;self&gt; and &lt;Other&gt; are not parallel this exception is raised when &lt;VRef&gt; is in the same plane as &lt;self&gt; and &lt;Other&gt; The tolerance criterion is Resolution from package gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
<li><strong>VRef</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.Coord">
<code class="descname">Coord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.Coord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coordinate of range Index : Index = 1 =&gt; X is returned Index = 2 =&gt; Y is returned Index = 3 =&gt; Z is returned Exceptions Standard_OutOfRange if Index is not 1, 2, or 3.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns for the unit vector its three coordinates Xv, Yv, and Zv.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xv</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Yv</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Zv</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.Cross">
<code class="descname">Cross</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.Cross" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the cross product between two directions Raises the exception ConstructionError if the two directions are parallel because the computed vector cannot be normalized to create a direction.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.CrossCross">
<code class="descname">CrossCross</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.CrossCross" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V1</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
<li><strong>V2</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.CrossCrossed">
<code class="descname">CrossCrossed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.CrossCrossed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the double vector product this ^ (V1 ^ V2). - CrossCrossed creates a new unit vector. Exceptions Standard_ConstructionError if: - V1 and V2 are parallel, or - this unit vector and (V1 ^ V2) are parallel. This is because, in these conditions, the computed vector is null and cannot be normalized.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V1</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
<li><strong>V2</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.Crossed">
<code class="descname">Crossed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.Crossed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the triple vector product. &lt;self&gt; ^ (V1 ^ V2) Raises the exception ConstructionError if V1 and V2 are parallel or &lt;self&gt; and (V1^V2) are parallel because the computed vector can&#8217;t be normalized to create a direction.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.Dot">
<code class="descname">Dot</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.Dot" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the scalar product</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.DotCross">
<code class="descname">DotCross</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.DotCross" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the triple scalar product &lt;self&gt; * (V1 ^ V2). Warnings : The computed vector V1&#8217; = V1 ^ V2 is not normalized to create a unitary vector. So this method never raises an exception even if V1 and V2 are parallel.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V1</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
<li><strong>V2</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.IsEqual">
<code class="descname">IsEqual</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.IsEqual" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the angle between the two directions is lower or equal to AngularTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.IsNormal">
<code class="descname">IsNormal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.IsNormal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the angle between this unit vector and the unit vector Other is equal to Pi/2 (normal).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.IsOpposite">
<code class="descname">IsOpposite</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.IsOpposite" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the angle between this unit vector and the unit vector Other is equal to Pi (opposite).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.IsParallel">
<code class="descname">IsParallel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.IsParallel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if the angle between this unit vector and the unit vector Other is equal to 0 or to Pi. Note: the tolerance criterion is given by AngularTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a direction with respect to the direction V which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a direction with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a direction with respect to a plane. The axis placement A2 locates the plane of the symmetry : (Location, XDirection, YDirection).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.Reverse">
<code class="descname">Reverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.Reverse" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.Reversed">
<code class="descname">Reversed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.Reversed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the orientation of a direction geometric transformations Performs the symmetrical transformation of a direction with respect to the direction V which is the center of the symmetry.]</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates a direction. A1 is the axis of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.SetCoord">
<code class="descname">SetCoord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.SetCoord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this unit vector, assigns the value Xi to: - the X coordinate if Index is 1, or - the Y coordinate if Index is 2, or - the Z coordinate if Index is 3, and then normalizes it. Warning Remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. Exceptions Standard_OutOfRange if Index is not 1, 2, or 3. Standard_ConstructionError if either of the following is less than or equal to gp::Resolution(): - Sqrt(Xv*Xv + Yv*Yv + Zv*Zv), or - the modulus of the number triple formed by the new value Xi and the two other coordinates of this vector that were not directly modified.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Xi</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>For this unit vector, assigns the values Xv, Yv and Zv to its three coordinates. Remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Yv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Zv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.SetX">
<code class="descname">SetX</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.SetX" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the X coordinate of this unit vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>X</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.SetXYZ">
<code class="descname">SetXYZ</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.SetXYZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the three coordinates of Coord to this unit vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.SetY">
<code class="descname">SetY</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.SetY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the Y coordinate of this unit vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Y</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.SetZ">
<code class="descname">SetZ</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.SetZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the Z coordinate of this unit vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Z</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a direction with a &#8216;Trsf&#8217; from gp. Warnings : If the scale factor of the &#8216;Trsf&#8217; T is negative then the direction &lt;self&gt; is reversed.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.X">
<code class="descname">X</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.X" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the X coordinate for a unit vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.XYZ">
<code class="descname">XYZ</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.XYZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>for this unit vector, returns its three coordinates as a number triplea.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.Y">
<code class="descname">Y</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.Y" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the Y coordinate for a unit vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir.Z">
<code class="descname">Z</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir.Z" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the Z coordinate for a unit vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Dir.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Dir.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Dir2d">
<em class="property">class </em><code class="descname">gp_Dir2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates a direction corresponding to X axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Normalizes the vector V and creates a Direction. Raises ConstructionError if V.Magnitude() &lt;= Resolution from gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a Direction from a doublet of coordinates. Raises ConstructionError if Coord.Modulus() &lt;= Resolution from gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a Direction with its 2 cartesian coordinates. Raises ConstructionError if Sqrt(Xv*Xv + Yv*Yv) &lt;= Resolution from gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Yv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Dir2d.Angle">
<code class="descname">Angle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.Angle" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the angular value in radians between &lt;self&gt; and &lt;Other&gt;. Returns the angle in the range [-PI, PI].</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.Coord">
<code class="descname">Coord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.Coord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this unit vector returns the coordinate of range Index : Index = 1 =&gt; X is returned Index = 2 =&gt; Y is returned Raises OutOfRange if Index != {1, 2}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>For this unit vector returns its two coordinates Xv and Yv. Raises OutOfRange if Index != {1, 2}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xv</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Yv</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.Crossed">
<code class="descname">Crossed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.Crossed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the cross product between two directions.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.Dot">
<code class="descname">Dot</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.Dot" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the scalar product</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.IsEqual">
<code class="descname">IsEqual</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.IsEqual" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the two vectors have the same direction i.e. the angle between this unit vector and the unit vector Other is less than or equal to AngularTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.IsNormal">
<code class="descname">IsNormal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.IsNormal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the angle between this unit vector and the unit vector Other is equal to Pi/2 or -Pi/2 (normal) i.e. Abs(Abs(&lt;self&gt;.Angle(Other)) - PI/2.) &lt;= AngularTolerance</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.IsOpposite">
<code class="descname">IsOpposite</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.IsOpposite" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the angle between this unit vector and the unit vector Other is equal to Pi or -Pi (opposite). i.e. PI - Abs(&lt;self&gt;.Angle(Other)) &lt;= AngularTolerance</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.IsParallel">
<code class="descname">IsParallel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.IsParallel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns true if if the angle between this unit vector and unit vector Other is equal to 0, Pi or -Pi. i.e. Abs(Angle(&lt;self&gt;, Other)) &lt;= AngularTolerance or PI - Abs(Angle(&lt;self&gt;, Other)) &lt;= AngularTolerance</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </li>
<li><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a direction with respect to the direction V which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d">gp_Dir2d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a direction with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d">gp_Dir2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.Reverse">
<code class="descname">Reverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.Reverse" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.Reversed">
<code class="descname">Reversed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.Reversed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the orientation of a direction</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d">gp_Dir2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates a direction. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d">gp_Dir2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.SetCoord">
<code class="descname">SetCoord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.SetCoord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this unit vector, assigns: the value Xi to: - the X coordinate if Index is 1, or - the Y coordinate if Index is 2, and then normalizes it. Warning Remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. Exceptions Standard_OutOfRange if Index is not 1 or 2. Standard_ConstructionError if either of the following is less than or equal to gp::Resolution(): - Sqrt(Xv*Xv + Yv*Yv), or - the modulus of the number pair formed by the new value Xi and the other coordinate of this vector that was not directly modified. Raises OutOfRange if Index != {1, 2}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Xi</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>For this unit vector, assigns: - the values Xv and Yv to its two coordinates, Warning Remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. Exceptions Standard_OutOfRange if Index is not 1 or 2. Standard_ConstructionError if either of the following is less than or equal to gp::Resolution(): - Sqrt(Xv*Xv + Yv*Yv), or - the modulus of the number pair formed by the new value Xi and the other coordinate of this vector that was not directly modified. Raises OutOfRange if Index != {1, 2}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Yv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.SetX">
<code class="descname">SetX</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.SetX" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the X coordinate of this unit vector, and then normalizes it. Warning Remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. Exceptions Standard_ConstructionError if either of the following is less than or equal to gp::Resolution(): - the modulus of Coord, or - the modulus of the number pair formed from the new X or Y coordinate and the other coordinate of this vector that was not directly modified.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>X</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.SetXY">
<code class="descname">SetXY</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.SetXY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns: - the two coordinates of Coord to this unit vector, and then normalizes it. Warning Remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. Exceptions Standard_ConstructionError if either of the following is less than or equal to gp::Resolution(): - the modulus of Coord, or - the modulus of the number pair formed from the new X or Y coordinate and the other coordinate of this vector that was not directly modified.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.SetY">
<code class="descname">SetY</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.SetY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the Y coordinate of this unit vector, and then normalizes it. Warning Remember that all the coordinates of a unit vector are implicitly modified when any single one is changed directly. Exceptions Standard_ConstructionError if either of the following is less than or equal to gp::Resolution(): - the modulus of Coord, or - the modulus of the number pair formed from the new X or Y coordinate and the other coordinate of this vector that was not directly modified.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Y</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a direction with the &#8216;Trsf&#8217; T. Warnings : If the scale factor of the &#8216;Trsf&#8217; T is negative then the direction &lt;self&gt; is reversed.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d">gp_Dir2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.X">
<code class="descname">X</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.X" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this unit vector, returns its X coordinate.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.XY">
<code class="descname">XY</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.XY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this unit vector, returns its two coordinates as a number pair. Comparison between Directions The precision value is an input data.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Dir2d.Y">
<code class="descname">Y</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Dir2d.Y" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this unit vector, returns its Y coordinate.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Dir2d.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Dir2d.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Elips">
<em class="property">class </em><code class="descname">gp_Elips</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates an indefinite ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>The major radius of the ellipse is on the &#8216;XAxis&#8217; and the minor radius is on the &#8216;YAxis&#8217; of the ellipse. The &#8216;XAxis&#8217; is defined with the &#8216;XDirection&#8217; of A2 and the &#8216;YAxis&#8217; is defined with the &#8216;YDirection&#8217; of A2. Warnings : It is not forbidden to create an ellipse with MajorRadius = MinorRadius. Raises ConstructionError if MajorRadius &lt; MinorRadius or MinorRadius &lt; 0.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
<li><strong>MajorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>MinorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Elips.Area">
<code class="descname">Area</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Area" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the area of the Ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Axis">
<code class="descname">Axis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Axis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the axis normal to the plane of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Directrix1">
<code class="descname">Directrix1</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Directrix1" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the first or second directrix of this ellipse. These are the lines, in the plane of the ellipse, normal to the major axis, at a distance equal to MajorRadius/e from the center of the ellipse, where e is the eccentricity of the ellipse. The first directrix (Directrix1) is on the positive side of the major axis. The second directrix (Directrix2) is on the negative side. The directrix is returned as an axis (gp_Ax1 object), the origin of which is situated on the &#8216;X Axis&#8217; of the local coordinate system of this ellipse. Exceptions Standard_ConstructionError if the eccentricity is null (the ellipse has degenerated into a circle).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Directrix2">
<code class="descname">Directrix2</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Directrix2" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>This line is obtained by the symmetrical transformation of &#8216;Directrix1&#8217; with respect to the &#8216;YAxis&#8217; of the ellipse. Exceptions Standard_ConstructionError if the eccentricity is null (the ellipse has degenerated into a circle).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Eccentricity">
<code class="descname">Eccentricity</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Eccentricity" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the eccentricity of the ellipse between 0.0 and 1.0 If f is the distance between the center of the ellipse and the Focus1 then the eccentricity e = f / MajorRadius. Raises ConstructionError if MajorRadius = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Focal">
<code class="descname">Focal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Focal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the focal distance. It is the distance between the two focus focus1 and focus2 of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Focus1">
<code class="descname">Focus1</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Focus1" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the first focus of the ellipse. This focus is on the positive side of the &#8216;XAxis&#8217; of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Focus2">
<code class="descname">Focus2</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Focus2" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the second focus of the ellipse. This focus is on the negative side of the &#8216;XAxis&#8217; of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the center of the ellipse. It is the &#8216;Location&#8217; point of the coordinate system of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.MajorRadius">
<code class="descname">MajorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.MajorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the major radius of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.MinorRadius">
<code class="descname">MinorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.MinorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the minor radius of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of an ellipse with respect to the point P which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Elips" title="OCC.gp.gp_Elips">gp_Elips</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of an ellipse with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Elips" title="OCC.gp.gp_Elips">gp_Elips</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of an ellipse with respect to a plane. The axis placement A2 locates the plane of the symmetry (Location, XDirection, YDirection).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Elips" title="OCC.gp.gp_Elips">gp_Elips</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Parameter">
<code class="descname">Parameter</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Parameter" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns p = (1 - e * e) * MajorRadius where e is the eccentricity of the ellipse. Returns 0 if MajorRadius = 0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Position">
<code class="descname">Position</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Position" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coordinate system of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates an ellipse. A1 is the axis of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Elips" title="OCC.gp.gp_Elips">gp_Elips</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales an ellipse. S is the scaling value.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Elips" title="OCC.gp.gp_Elips">gp_Elips</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.SetAxis">
<code class="descname">SetAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.SetAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the axis normal to the plane of the ellipse. It modifies the definition of this plane. The &#8216;XAxis&#8217; and the &#8216;YAxis&#8217; are recomputed. The local coordinate system is redefined so that: - its origin and &#8216;main Direction&#8217; become those of the axis A1 (the &#8216;X Direction&#8217; and &#8216;Y Direction&#8217; are then recomputed in the same way as for any gp_Ax2), or Raises ConstructionError if the direction of A1 is parallel to the direction of the &#8216;XAxis&#8217; of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this ellipse, by redefining its local coordinate so that its origin becomes P.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.SetMajorRadius">
<code class="descname">SetMajorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.SetMajorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>The major radius of the ellipse is on the &#8216;XAxis&#8217; (major axis) of the ellipse. Raises ConstructionError if MajorRadius &lt; MinorRadius.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>MajorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.SetMinorRadius">
<code class="descname">SetMinorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.SetMinorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>The minor radius of the ellipse is on the &#8216;YAxis&#8217; (minor axis) of the ellipse. Raises ConstructionError if MinorRadius &gt; MajorRadius or MinorRadius &lt; 0.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>MinorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.SetPosition">
<code class="descname">SetPosition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.SetPosition" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this ellipse, by redefining its local coordinate so that it becomes A2e.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms an ellipse with the transformation T from class Trsf.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Elips" title="OCC.gp.gp_Elips">gp_Elips</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates an ellipse in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Elips" title="OCC.gp.gp_Elips">gp_Elips</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates an ellipse from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Elips" title="OCC.gp.gp_Elips">gp_Elips</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.XAxis">
<code class="descname">XAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.XAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the &#8216;XAxis&#8217; of the ellipse whose origin is the center of this ellipse. It is the major axis of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips.YAxis">
<code class="descname">YAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips.YAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the &#8216;YAxis&#8217; of the ellipse whose unit vector is the &#8216;X Direction&#8217; or the &#8216;Y Direction&#8217; of the local coordinate system of this ellipse. This is the minor axis of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Elips.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Elips.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Elips2d">
<em class="property">class </em><code class="descname">gp_Elips2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates an indefinite ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates an ellipse with the major axis, the major and the minor radius. The location of the MajorAxis is the center of the ellipse. The sense of parametrization is given by Sense. Warnings : It is possible to create an ellipse with MajorRadius = MinorRadius. Raises ConstructionError if MajorRadius &lt; MinorRadius or MinorRadius &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>MajorAxis</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
<li><strong>MajorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>MinorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Sense</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) &#8211; default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates an ellipse with radii MajorRadius and MinorRadius, positioned in the plane by coordinate system A where: - the origin of A is the center of the ellipse, - the &#8216;X Direction&#8217; of A defines the major axis of the ellipse, that is, the major radius MajorRadius is measured along this axis, and - the &#8216;Y Direction&#8217; of A defines the minor axis of the ellipse, that is, the minor radius MinorRadius is measured along this axis, and - the orientation (direct or indirect sense) of A gives the orientation of the ellipse. Warnings : It is possible to create an ellipse with MajorRadius = MinorRadius. Raises ConstructionError if MajorRadius &lt; MinorRadius or MinorRadius &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d"><em>gp_Ax22d</em></a>) &#8211; </li>
<li><strong>MajorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>MinorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Area">
<code class="descname">Area</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Area" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the area of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Axis">
<code class="descname">Axis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Axis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the major axis of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d">gp_Ax22d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Coefficients">
<code class="descname">Coefficients</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Coefficients" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coefficients of the implicit equation of the ellipse. A * (X**2) + B * (Y**2) + 2*C*(X*Y) + 2*D*X + 2*E*Y + F = 0.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>B</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>C</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>D</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>E</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>F</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Directrix1">
<code class="descname">Directrix1</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Directrix1" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>This directrix is the line normal to the XAxis of the ellipse in the local plane (Z = 0) at a distance d = MajorRadius / e from the center of the ellipse, where e is the eccentricity of the ellipse. This line is parallel to the &#8216;YAxis&#8217;. The intersection point between directrix1 and the &#8216;XAxis&#8217; is the location point of the directrix1. This point is on the positive side of the &#8216;XAxis&#8217;. //! Raised if Eccentricity = 0.0. (The ellipse degenerates into a circle)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Directrix2">
<code class="descname">Directrix2</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Directrix2" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>This line is obtained by the symmetrical transformation of &#8216;Directrix1&#8217; with respect to the minor axis of the ellipse. //! Raised if Eccentricity = 0.0. (The ellipse degenerates into a circle).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Eccentricity">
<code class="descname">Eccentricity</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Eccentricity" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the eccentricity of the ellipse between 0.0 and 1.0 If f is the distance between the center of the ellipse and the Focus1 then the eccentricity e = f / MajorRadius. Returns 0 if MajorRadius = 0.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Focal">
<code class="descname">Focal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Focal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the distance between the center of the ellipse and focus1 or focus2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Focus1">
<code class="descname">Focus1</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Focus1" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the first focus of the ellipse. This focus is on the positive side of the major axis of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Focus2">
<code class="descname">Focus2</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Focus2" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the second focus of the ellipse. This focus is on the negative side of the major axis of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.IsDirect">
<code class="descname">IsDirect</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.IsDirect" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if the local coordinate system is direct and false in the other case.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the center of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.MajorRadius">
<code class="descname">MajorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.MajorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the major radius of the Ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.MinorRadius">
<code class="descname">MinorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.MinorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the minor radius of the Ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a ellipse with respect to the point P which is the center of the symmetry</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Elips2d" title="OCC.gp.gp_Elips2d">gp_Elips2d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a ellipse with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Elips2d" title="OCC.gp.gp_Elips2d">gp_Elips2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Parameter">
<code class="descname">Parameter</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Parameter" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns p = (1 - e * e) * MajorRadius where e is the eccentricity of the ellipse. Returns 0 if MajorRadius = 0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Reverse">
<code class="descname">Reverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Reverse" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Reversed">
<code class="descname">Reversed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Reversed" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Elips2d" title="OCC.gp.gp_Elips2d">gp_Elips2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Elips2d" title="OCC.gp.gp_Elips2d">gp_Elips2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a ellipse. S is the scaling value.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Elips2d" title="OCC.gp.gp_Elips2d">gp_Elips2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.SetAxis">
<code class="descname">SetAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.SetAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this ellipse, by redefining its local coordinate system so that it becomes A.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d"><em>gp_Ax22d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this ellipse, by redefining its local coordinate system so that - its origin becomes P.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.SetMajorRadius">
<code class="descname">SetMajorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.SetMajorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the value of the major radius. Raises ConstructionError if MajorRadius &lt; MinorRadius.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>MajorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.SetMinorRadius">
<code class="descname">SetMinorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.SetMinorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the value of the minor radius. Raises ConstructionError if MajorRadius &lt; MinorRadius or MinorRadius &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>MinorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.SetXAxis">
<code class="descname">SetXAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.SetXAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this ellipse, by redefining its local coordinate system so that its origin and its &#8216;X Direction&#8217; become those of the axis A. The &#8216;Y Direction&#8217; is then recomputed. The orientation of the local coordinate system is not modified.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.SetYAxis">
<code class="descname">SetYAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.SetYAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this ellipse, by redefining its local coordinate system so that its origin and its &#8216;Y Direction&#8217; become those of the axis A. The &#8216;X Direction&#8217; is then recomputed. The orientation of the local coordinate system is not modified.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms an ellipse with the transformation T from class Trsf2d.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Elips2d" title="OCC.gp.gp_Elips2d">gp_Elips2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a ellipse in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Elips2d" title="OCC.gp.gp_Elips2d">gp_Elips2d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates a ellipse from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Elips2d" title="OCC.gp.gp_Elips2d">gp_Elips2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.XAxis">
<code class="descname">XAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.XAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the major axis of the ellipse.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Elips2d.YAxis">
<code class="descname">YAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Elips2d.YAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the minor axis of the ellipse. Reverses the direction of the circle.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Elips2d.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Elips2d.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_GTrsf">
<em class="property">class </em><code class="descname">gp_GTrsf</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Returns the Identity transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Converts the gp_Trsf transformation T into a general transformation, i.e. Returns a GTrsf with the same matrix of coefficients as the Trsf T.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a transformation based on the matrix M and the vector V where M defines the vectorial part of the transformation, and V the translation part, or</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>M</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat"><em>gp_Mat</em></a>) &#8211; </li>
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_GTrsf.Form">
<code class="descname">Form</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.Form" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the nature of the transformation. It can be an identity transformation, a rotation, a translation, a mirror transformation (relative to a point, an axis or a plane), a scaling transformation, a compound transformation or some other type of transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">gp_TrsfForm</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.Invert">
<code class="descname">Invert</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.Invert" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.Inverted">
<code class="descname">Inverted</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.Inverted" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the reverse transformation. Raises an exception if the matrix of the transformation is not inversible.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_GTrsf" title="OCC.gp.gp_GTrsf">gp_GTrsf</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.IsNegative">
<code class="descname">IsNegative</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.IsNegative" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if the determinant of the vectorial part of this transformation is negative.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.IsSingular">
<code class="descname">IsSingular</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.IsSingular" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if this transformation is singular (and therefore, cannot be inverted). Note: The Gauss LU decomposition is used to invert the transformation matrix. Consequently, the transformation is considered as singular if the largest pivot found is less than or equal to gp::Resolution(). Warning If this transformation is singular, it cannot be inverted.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.Multiplied">
<code class="descname">Multiplied</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.Multiplied" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the transformation composed from T and &lt;self&gt;. In a C++ implementation you can also write Tcomposed = &lt;self&gt; * T. Example : GTrsf T1, T2, Tcomp; ............... //composition : Tcomp = T2.Multiplied(T1); // or (Tcomp = T2 * T1) // transformation of a point XYZ P(10.,3.,4.); XYZ P1(P); Tcomp.Transforms(P1); //using Tcomp XYZ P2(P); T1.Transforms(P2); //using T1 then T2 T2.Transforms(P2); // P1 = P2 !!!</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_GTrsf" title="OCC.gp.gp_GTrsf"><em>gp_GTrsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_GTrsf" title="OCC.gp.gp_GTrsf">gp_GTrsf</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.Multiply">
<code class="descname">Multiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.Multiply" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the transformation composed with &lt;self&gt; and T. &lt;self&gt; = &lt;self&gt; * T C++: alias operator <a href="#id1"><span class="problematic" id="id2">*</span></a>=</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_GTrsf" title="OCC.gp.gp_GTrsf"><em>gp_GTrsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.Power">
<code class="descname">Power</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.Power" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>N</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.Powered">
<code class="descname">Powered</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.Powered" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes: - the product of this transformation multiplied by itself N times, if N is positive, or - the product of the inverse of this transformation multiplied by itself <a href="#id3"><span class="problematic" id="id4">|N|</span></a> times, if N is negative. If N equals zero, the result is equal to the Identity transformation. I.e.: &lt;self&gt; * &lt;self&gt; * .......* &lt;self&gt;, N time. if N =0 &lt;self&gt; = Identity if N &lt; 0 &lt;self&gt; = &lt;self&gt;.Inverse() <em>...........</em> &lt;self&gt;.Inverse(). //! Raises an exception if N &lt; 0 and if the matrix of the transformation not inversible.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>N</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_GTrsf" title="OCC.gp.gp_GTrsf">gp_GTrsf</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.PreMultiply">
<code class="descname">PreMultiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.PreMultiply" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the product of the transformation T and this transformation and assigns the result to this transformation. this = T * this</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_GTrsf" title="OCC.gp.gp_GTrsf"><em>gp_GTrsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.SetAffinity">
<code class="descname">SetAffinity</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.SetAffinity" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes this transformation into an affinity of ratio Ratio with respect to the axis A1. Note: an affinity is a point-by-point transformation that transforms any point P into a point P&#8217; such that if H is the orthogonal projection of P on the axis A1 or the plane A2, the vectors HP and HP&#8217; satisfy: HP&#8217; = Ratio * HP.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ratio</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Changes this transformation into an affinity of ratio Ratio with respect to the plane defined by the origin, the &#8216;X Direction&#8217; and the &#8216;Y Direction&#8217; of coordinate system A2. Note: an affinity is a point-by-point transformation that transforms any point P into a point P&#8217; such that if H is the orthogonal projection of P on the axis A1 or the plane A2, the vectors HP and HP&#8217; satisfy: HP&#8217; = Ratio * HP.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
<li><strong>Ratio</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.SetForm">
<code class="descname">SetForm</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.SetForm" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>verify and set the shape of the GTrsf Other or CompoundTrsf Ex : myGTrsf.SetValue(row1,col1,val1); myGTrsf.SetValue(row2,col2,val2); ... myGTrsf.SetForm();</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.SetTranslationPart">
<code class="descname">SetTranslationPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.SetTranslationPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Replaces the translation part of this transformation by the coordinates of the number triple Coord.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.SetTrsf">
<code class="descname">SetTrsf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.SetTrsf" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the vectorial and translation parts of T to this transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.SetValue">
<code class="descname">SetValue</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.SetValue" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Replaces the coefficient (Row, Col) of the matrix representing this transformation by Value. Raises OutOfRange if Row &lt; 1 or Row &gt; 3 or Col &lt; 1 or Col &gt; 4</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Value</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.SetVectorialPart">
<code class="descname">SetVectorialPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.SetVectorialPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Replaces the vectorial part of this transformation by Matrix.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Matrix</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat"><em>gp_Mat</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.Transforms">
<code class="descname">Transforms</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.Transforms" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Transforms a triplet XYZ with a GTrsf.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>X</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Y</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Z</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.TranslationPart">
<code class="descname">TranslationPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.TranslationPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the translation part of the GTrsf.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.Trsf">
<code class="descname">Trsf</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.Trsf" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf">gp_Trsf</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.Value">
<code class="descname">Value</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.Value" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coefficients of the global matrix of transformation. Raises OutOfRange if Row &lt; 1 or Row &gt; 3 or Col &lt; 1 or Col &gt; 4</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf.VectorialPart">
<code class="descname">VectorialPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf.VectorialPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the vectorial part of the GTrsf. The returned Matrix is a 3*3 matrix.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat">gp_Mat</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_GTrsf.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_GTrsf.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_GTrsf2d">
<em class="property">class </em><code class="descname">gp_GTrsf2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>returns identity transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Converts the gp_Trsf2d transformation T into a general transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a transformation based on the matrix M and the vector V where M defines the vectorial part of the transformation, and V the translation part.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>M</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d"><em>gp_Mat2d</em></a>) &#8211; </li>
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.Form">
<code class="descname">Form</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.Form" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the nature of the transformation. It can be an identity transformation, a rotation, a translation, a mirror transformation (relative to a point or axis), a scaling transformation, a compound transformation or some other type of transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">gp_TrsfForm</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.Invert">
<code class="descname">Invert</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.Invert" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.Inverted">
<code class="descname">Inverted</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.Inverted" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the reverse transformation. Raised an exception if the matrix of the transformation is not inversible.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_GTrsf2d" title="OCC.gp.gp_GTrsf2d">gp_GTrsf2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.IsNegative">
<code class="descname">IsNegative</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.IsNegative" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if the determinant of the vectorial part of this transformation is negative.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.IsSingular">
<code class="descname">IsSingular</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.IsSingular" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if this transformation is singular (and therefore, cannot be inverted). Note: The Gauss LU decomposition is used to invert the transformation matrix. Consequently, the transformation is considered as singular if the largest pivot found is less than or equal to gp::Resolution(). Warning If this transformation is singular, it cannot be inverted.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.Multiplied">
<code class="descname">Multiplied</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.Multiplied" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the transformation composed with T and &lt;self&gt;. In a C++ implementation you can also write Tcomposed = &lt;self&gt; * T. Example : GTrsf2d T1, T2, Tcomp; ............... //composition : Tcomp = T2.Multiplied(T1); // or (Tcomp = T2 * T1) // transformation of a point XY P(10.,3.); XY P1(P); Tcomp.Transforms(P1); //using Tcomp XY P2(P); T1.Transforms(P2); //using T1 then T2 T2.Transforms(P2); // P1 = P2 !!!</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_GTrsf2d" title="OCC.gp.gp_GTrsf2d"><em>gp_GTrsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_GTrsf2d" title="OCC.gp.gp_GTrsf2d">gp_GTrsf2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.Multiply">
<code class="descname">Multiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.Multiply" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_GTrsf2d" title="OCC.gp.gp_GTrsf2d"><em>gp_GTrsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.Power">
<code class="descname">Power</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.Power" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>N</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.Powered">
<code class="descname">Powered</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.Powered" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the following composition of transformations &lt;self&gt; * &lt;self&gt; * .......* &lt;self&gt;, N time. if N = 0 &lt;self&gt; = Identity if N &lt; 0 &lt;self&gt; = &lt;self&gt;.Inverse() <em>...........</em> &lt;self&gt;.Inverse(). //! Raises an exception if N &lt; 0 and if the matrix of the transformation is not inversible.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>N</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_GTrsf2d" title="OCC.gp.gp_GTrsf2d">gp_GTrsf2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.PreMultiply">
<code class="descname">PreMultiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.PreMultiply" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the product of the transformation T and this transformation, and assigns the result to this transformation: this = T * this</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_GTrsf2d" title="OCC.gp.gp_GTrsf2d"><em>gp_GTrsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.SetAffinity">
<code class="descname">SetAffinity</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.SetAffinity" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes this transformation into an affinity of ratio Ratio with respect to the axis A. Note: An affinity is a point-by-point transformation that transforms any point P into a point P&#8217; such that if H is the orthogonal projection of P on the axis A, the vectors HP and HP&#8217; satisfy: HP&#8217; = Ratio * HP.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
<li><strong>Ratio</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.SetTranslationPart">
<code class="descname">SetTranslationPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.SetTranslationPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Replacesthe translation part of this transformation by the coordinates of the number pair Coord.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.SetTrsf2d">
<code class="descname">SetTrsf2d</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.SetTrsf2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the vectorial and translation parts of T to this transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.SetValue">
<code class="descname">SetValue</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.SetValue" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Replaces the coefficient (Row, Col) of the matrix representing this transformation by Value, Raises OutOfRange if Row &lt; 1 or Row &gt; 2 or Col &lt; 1 or Col &gt; 3</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Value</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.SetVectorialPart">
<code class="descname">SetVectorialPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.SetVectorialPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Replaces the vectorial part of this transformation by Matrix.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Matrix</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d"><em>gp_Mat2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.Transforms">
<code class="descname">Transforms</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.Transforms" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Applies this transformation to the coordinates: - of the number pair Coord, or - X and Y. //! Note: - Transforms modifies X, Y, or the coordinate pair Coord, while - Transformed creates a new coordinate pair.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>X</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Y</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.TranslationPart">
<code class="descname">TranslationPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.TranslationPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the translation part of the GTrsf2d.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.Trsf2d">
<code class="descname">Trsf2d</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.Trsf2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Converts this transformation into a gp_Trsf2d transformation. Exceptions Standard_ConstructionError if this transformation cannot be converted, i.e. if its form is gp_Other.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d">gp_Trsf2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.Value">
<code class="descname">Value</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.Value" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coefficients of the global matrix of transformation. Raised OutOfRange if Row &lt; 1 or Row &gt; 2 or Col &lt; 1 or Col &gt; 3</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_GTrsf2d.VectorialPart">
<code class="descname">VectorialPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.VectorialPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the vectorial part of the GTrsf2d. The returned Matrix is a 2*2 matrix.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d">gp_Mat2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_GTrsf2d.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_GTrsf2d.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Hypr">
<em class="property">class </em><code class="descname">gp_Hypr</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates of an indefinite hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a hyperbola with radii MajorRadius and MinorRadius, positioned in the space by the coordinate system A2 such that: - the origin of A2 is the center of the hyperbola, - the &#8216;X Direction&#8217; of A2 defines the major axis of the hyperbola, that is, the major radius MajorRadius is measured along this axis, and - the &#8216;Y Direction&#8217; of A2 defines the minor axis of the hyperbola, that is, the minor radius MinorRadius is measured along this axis. Note: This class does not prevent the creation of a hyperbola where: - MajorAxis is equal to MinorAxis, or - MajorAxis is less than MinorAxis. Exceptions Standard_ConstructionError if MajorAxis or MinorAxis is negative. Raises ConstructionError if MajorRadius &lt; 0.0 or MinorRadius &lt; 0.0 Raised if MajorRadius &lt; 0.0 or MinorRadius &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
<li><strong>MajorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>MinorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Hypr.Asymptote1">
<code class="descname">Asymptote1</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Asymptote1" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>In the local coordinate system of the hyperbola the equation of the hyperbola is (X*X)/(A*A) - (Y*Y)/(B*B) = 1.0 and the equation of the first asymptote is Y = (B/A)*X where A is the major radius and B is the minor radius. Raises ConstructionError if MajorRadius = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Asymptote2">
<code class="descname">Asymptote2</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Asymptote2" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>In the local coordinate system of the hyperbola the equation of the hyperbola is (X*X)/(A*A) - (Y*Y)/(B*B) = 1.0 and the equation of the first asymptote is Y = -(B/A)*X. where A is the major radius and B is the minor radius. Raises ConstructionError if MajorRadius = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Axis">
<code class="descname">Axis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Axis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the axis passing through the center, and normal to the plane of this hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.ConjugateBranch1">
<code class="descname">ConjugateBranch1</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.ConjugateBranch1" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the branch of hyperbola which is on the positive side of the &#8216;YAxis&#8217; of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr" title="OCC.gp.gp_Hypr">gp_Hypr</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.ConjugateBranch2">
<code class="descname">ConjugateBranch2</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.ConjugateBranch2" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the branch of hyperbola which is on the negative side of the &#8216;YAxis&#8217; of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr" title="OCC.gp.gp_Hypr">gp_Hypr</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Directrix1">
<code class="descname">Directrix1</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Directrix1" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>This directrix is the line normal to the XAxis of the hyperbola in the local plane (Z = 0) at a distance d = MajorRadius / e from the center of the hyperbola, where e is the eccentricity of the hyperbola. This line is parallel to the &#8216;YAxis&#8217;. The intersection point between the directrix1 and the &#8216;XAxis&#8217; is the &#8216;Location&#8217; point of the directrix1. This point is on the positive side of the &#8216;XAxis&#8217;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Directrix2">
<code class="descname">Directrix2</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Directrix2" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>This line is obtained by the symmetrical transformation of &#8216;Directrix1&#8217; with respect to the &#8216;YAxis&#8217; of the hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Eccentricity">
<code class="descname">Eccentricity</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Eccentricity" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the excentricity of the hyperbola (e &gt; 1). If f is the distance between the location of the hyperbola and the Focus1 then the eccentricity e = f / MajorRadius. Raises DomainError if MajorRadius = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Focal">
<code class="descname">Focal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Focal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the focal distance. It is the distance between the the two focus of the hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Focus1">
<code class="descname">Focus1</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Focus1" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the first focus of the hyperbola. This focus is on the positive side of the &#8216;XAxis&#8217; of the hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Focus2">
<code class="descname">Focus2</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Focus2" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the second focus of the hyperbola. This focus is on the negative side of the &#8216;XAxis&#8217; of the hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the location point of the hyperbola. It is the intersection point between the &#8216;XAxis&#8217; and the &#8216;YAxis&#8217;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.MajorRadius">
<code class="descname">MajorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.MajorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the major radius of the hyperbola. It is the radius on the &#8216;XAxis&#8217; of the hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.MinorRadius">
<code class="descname">MinorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.MinorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the minor radius of the hyperbola. It is the radius on the &#8216;YAxis&#8217; of the hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of an hyperbola with respect to the point P which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr" title="OCC.gp.gp_Hypr">gp_Hypr</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of an hyperbola with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr" title="OCC.gp.gp_Hypr">gp_Hypr</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of an hyperbola with respect to a plane. The axis placement A2 locates the plane of the symmetry (Location, XDirection, YDirection).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr" title="OCC.gp.gp_Hypr">gp_Hypr</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.OtherBranch">
<code class="descname">OtherBranch</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.OtherBranch" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the branch of hyperbola obtained by doing the symmetrical transformation of &lt;self&gt; with respect to the &#8216;YAxis&#8217; of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr" title="OCC.gp.gp_Hypr">gp_Hypr</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Parameter">
<code class="descname">Parameter</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Parameter" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns p = (e * e - 1) * MajorRadius where e is the eccentricity of the hyperbola. Raises DomainError if MajorRadius = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Position">
<code class="descname">Position</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Position" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coordinate system of the hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates an hyperbola. A1 is the axis of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Hypr" title="OCC.gp.gp_Hypr">gp_Hypr</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales an hyperbola. S is the scaling value.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Hypr" title="OCC.gp.gp_Hypr">gp_Hypr</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.SetAxis">
<code class="descname">SetAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.SetAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this hyperbola, by redefining its local coordinate system so that: - its origin and &#8216;main Direction&#8217; become those of the axis A1 (the &#8216;X Direction&#8217; and &#8216;Y Direction&#8217; are then recomputed in the same way as for any gp_Ax2). Raises ConstructionError if the direction of A1 is parallel to the direction of the &#8216;XAxis&#8217; of the hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this hyperbola, by redefining its local coordinate system so that its origin becomes P.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.SetMajorRadius">
<code class="descname">SetMajorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.SetMajorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies the major radius of this hyperbola. Exceptions Standard_ConstructionError if MajorRadius is negative.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>MajorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.SetMinorRadius">
<code class="descname">SetMinorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.SetMinorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies the minor radius of this hyperbola. Exceptions Standard_ConstructionError if MinorRadius is negative.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>MinorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.SetPosition">
<code class="descname">SetPosition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.SetPosition" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this hyperbola, by redefining its local coordinate system so that it becomes A2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms an hyperbola with the transformation T from class Trsf.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr" title="OCC.gp.gp_Hypr">gp_Hypr</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates an hyperbola in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr" title="OCC.gp.gp_Hypr">gp_Hypr</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates an hyperbola from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Hypr" title="OCC.gp.gp_Hypr">gp_Hypr</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.XAxis">
<code class="descname">XAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.XAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes an axis, whose - the origin is the center of this hyperbola, and - the unit vector is the &#8216;X Direction&#8217; of the local coordinate system of this hyperbola. These axes are, the major axis (the &#8216;X Axis&#8217;) and of this hyperboReturns the &#8216;XAxis&#8217; of the hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr.YAxis">
<code class="descname">YAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr.YAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes an axis, whose - the origin is the center of this hyperbola, and - the unit vector is the &#8216;Y Direction&#8217; of the local coordinate system of this hyperbola. These axes are the minor axis (the &#8216;Y Axis&#8217;) of this hyperbola</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Hypr.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Hypr.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Hypr2d">
<em class="property">class </em><code class="descname">gp_Hypr2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates of an indefinite hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a hyperbola with radii MajorRadius and MinorRadius, centered on the origin of MajorAxis and where the unit vector of MajorAxis is the &#8216;X Direction&#8217; of the local coordinate system of the hyperbola. This coordinate system is direct if Sense is true (the default value), and indirect if Sense is false. Warnings : It is yet possible to create an Hyperbola with MajorRadius &lt;= MinorRadius. Raises ConstructionError if MajorRadius &lt; 0.0 or MinorRadius &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>MajorAxis</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
<li><strong>MajorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>MinorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Sense</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) &#8211; default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>a hyperbola with radii MajorRadius and MinorRadius, positioned in the plane by coordinate system A where: - the origin of A is the center of the hyperbola, - the &#8216;X Direction&#8217; of A defines the major axis of the hyperbola, that is, the major radius MajorRadius is measured along this axis, and - the &#8216;Y Direction&#8217; of A defines the minor axis of the hyperbola, that is, the minor radius MinorRadius is measured along this axis, and - the orientation (direct or indirect sense) of A gives the implicit orientation of the hyperbola. Warnings : It is yet possible to create an Hyperbola with MajorRadius &lt;= MinorRadius. Raises ConstructionError if MajorRadius &lt; 0.0 or MinorRadius &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d"><em>gp_Ax22d</em></a>) &#8211; </li>
<li><strong>MajorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>MinorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Asymptote1">
<code class="descname">Asymptote1</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Asymptote1" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>In the local coordinate system of the hyperbola the equation of the hyperbola is (X*X)/(A*A) - (Y*Y)/(B*B) = 1.0 and the equation of the first asymptote is Y = (B/A)*X where A is the major radius of the hyperbola and B the minor radius of the hyperbola. Raises ConstructionError if MajorRadius = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Asymptote2">
<code class="descname">Asymptote2</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Asymptote2" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>In the local coordinate system of the hyperbola the equation of the hyperbola is (X*X)/(A*A) - (Y*Y)/(B*B) = 1.0 and the equation of the first asymptote is Y = -(B/A)*X where A is the major radius of the hyperbola and B the minor radius of the hyperbola. Raises ConstructionError if MajorRadius = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Axis">
<code class="descname">Axis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Axis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the axisplacement of the hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d">gp_Ax22d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Coefficients">
<code class="descname">Coefficients</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Coefficients" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the coefficients of the implicit equation of the hyperbola : A * (X**2) + B * (Y**2) + 2*C*(X*Y) + 2*D*X + 2*E*Y + F = 0.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>B</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>C</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>D</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>E</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>F</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.ConjugateBranch1">
<code class="descname">ConjugateBranch1</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.ConjugateBranch1" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the branch of hyperbola which is on the positive side of the &#8216;YAxis&#8217; of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr2d" title="OCC.gp.gp_Hypr2d">gp_Hypr2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.ConjugateBranch2">
<code class="descname">ConjugateBranch2</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.ConjugateBranch2" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the branch of hyperbola which is on the negative side of the &#8216;YAxis&#8217; of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr2d" title="OCC.gp.gp_Hypr2d">gp_Hypr2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Directrix1">
<code class="descname">Directrix1</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Directrix1" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the directrix which is the line normal to the XAxis of the hyperbola in the local plane (Z = 0) at a distance d = MajorRadius / e from the center of the hyperbola, where e is the eccentricity of the hyperbola. This line is parallel to the &#8216;YAxis&#8217;. The intersection point between the &#8216;Directrix1&#8217; and the &#8216;XAxis&#8217; is the &#8216;Location&#8217; point of the &#8216;Directrix1&#8217;. This point is on the positive side of the &#8216;XAxis&#8217;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Directrix2">
<code class="descname">Directrix2</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Directrix2" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>This line is obtained by the symmetrical transformation of &#8216;Directrix1&#8217; with respect to the &#8216;YAxis&#8217; of the hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Eccentricity">
<code class="descname">Eccentricity</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Eccentricity" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the excentricity of the hyperbola (e &gt; 1). If f is the distance between the location of the hyperbola and the Focus1 then the eccentricity e = f / MajorRadius. Raises DomainError if MajorRadius = 0.0.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Focal">
<code class="descname">Focal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Focal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the focal distance. It is the distance between the &#8216;Location&#8217; of the hyperbola and &#8216;Focus1&#8217; or &#8216;Focus2&#8217;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Focus1">
<code class="descname">Focus1</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Focus1" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the first focus of the hyperbola. This focus is on the positive side of the &#8216;XAxis&#8217; of the hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Focus2">
<code class="descname">Focus2</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Focus2" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the second focus of the hyperbola. This focus is on the negative side of the &#8216;XAxis&#8217; of the hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.IsDirect">
<code class="descname">IsDirect</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.IsDirect" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if the local coordinate system is direct and false in the other case.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the location point of the hyperbola. It is the intersection point between the &#8216;XAxis&#8217; and the &#8216;YAxis&#8217;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.MajorRadius">
<code class="descname">MajorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.MajorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the major radius of the hyperbola (it is the radius corresponding to the &#8216;XAxis&#8217; of the hyperbola).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.MinorRadius">
<code class="descname">MinorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.MinorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the minor radius of the hyperbola (it is the radius corresponding to the &#8216;YAxis&#8217; of the hyperbola).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of an hyperbola with respect to the point P which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr2d" title="OCC.gp.gp_Hypr2d">gp_Hypr2d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of an hyperbola with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr2d" title="OCC.gp.gp_Hypr2d">gp_Hypr2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.OtherBranch">
<code class="descname">OtherBranch</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.OtherBranch" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the branch of hyperbola obtained by doing the symmetrical transformation of &lt;self&gt; with respect to the &#8216;YAxis&#8217; of &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr2d" title="OCC.gp.gp_Hypr2d">gp_Hypr2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Parameter">
<code class="descname">Parameter</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Parameter" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns p = (e * e - 1) * MajorRadius where e is the eccentricity of the hyperbola. Raises DomainError if MajorRadius = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Reverse">
<code class="descname">Reverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Reverse" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Reversed">
<code class="descname">Reversed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Reversed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the orientation of the local coordinate system of this hyperbola (the &#8216;Y Axis&#8217; is reversed). Therefore, the implicit orientation of this hyperbola is reversed. Note: - Reverse assigns the result to this hyperbola, while - Reversed creates a new one.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr2d" title="OCC.gp.gp_Hypr2d">gp_Hypr2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates an hyperbola. P is the center of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Hypr2d" title="OCC.gp.gp_Hypr2d">gp_Hypr2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales an hyperbola. &lt;S&gt; is the scaling value. If &lt;S&gt; is positive only the location point is modified. But if &lt;S&gt; is negative the &#8216;XAxis&#8217; is reversed and the &#8216;YAxis&#8217; too.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Hypr2d" title="OCC.gp.gp_Hypr2d">gp_Hypr2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.SetAxis">
<code class="descname">SetAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.SetAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this hyperbola, by redefining its local coordinate system so that it becomes A.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d"><em>gp_Ax22d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this hyperbola, by redefining its local coordinate system so that its origin becomes P.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.SetMajorRadius">
<code class="descname">SetMajorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.SetMajorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies the major or minor radius of this hyperbola. Exceptions Standard_ConstructionError if MajorRadius or MinorRadius is negative.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>MajorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.SetMinorRadius">
<code class="descname">SetMinorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.SetMinorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies the major or minor radius of this hyperbola. Exceptions Standard_ConstructionError if MajorRadius or MinorRadius is negative.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>MinorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.SetXAxis">
<code class="descname">SetXAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.SetXAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the major axis of the hyperbola. The minor axis is recomputed and the location of the hyperbola too.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.SetYAxis">
<code class="descname">SetYAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.SetYAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the minor axis of the hyperbola.The minor axis is recomputed and the location of the hyperbola too.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms an hyperbola with the transformation T from class Trsf2d.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr2d" title="OCC.gp.gp_Hypr2d">gp_Hypr2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates an hyperbola in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Hypr2d" title="OCC.gp.gp_Hypr2d">gp_Hypr2d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates an hyperbola from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Hypr2d" title="OCC.gp.gp_Hypr2d">gp_Hypr2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.XAxis">
<code class="descname">XAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.XAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes an axis whose - the origin is the center of this hyperbola, and - the unit vector is the &#8216;X Direction&#8217; or &#8216;Y Direction&#8217; respectively of the local coordinate system of this hyperbola Returns the major axis of the hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Hypr2d.YAxis">
<code class="descname">YAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Hypr2d.YAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes an axis whose - the origin is the center of this hyperbola, and - the unit vector is the &#8216;X Direction&#8217; or &#8216;Y Direction&#8217; respectively of the local coordinate system of this hyperbola Returns the minor axis of the hyperbola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Hypr2d.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Hypr2d.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Lin">
<em class="property">class </em><code class="descname">gp_Lin</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates a Line corresponding to Z axis of the reference coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a line defined by axis A1.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a line passing through point P and parallel to vector V (P and V are, respectively, the origin and the unit vector of the positioning axis of the line).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Lin.Angle">
<code class="descname">Angle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Angle" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the angle between two lines in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin"><em>gp_Lin</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Contains">
<code class="descname">Contains</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Contains" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if this line contains the point P, that is, if the distance between point P and this line is less than or equal to LinearTolerance..</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Direction">
<code class="descname">Direction</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Direction" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the direction of the line.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir">gp_Dir</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Distance">
<code class="descname">Distance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Distance" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the distance between &lt;self&gt; and the point P.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Computes the distance between two lines.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin"><em>gp_Lin</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the location point (origin) of the line.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a line with respect to the point P which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin">gp_Lin</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a line with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin">gp_Lin</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a line with respect to a plane. The axis placement &lt;A2&gt; locates the plane of the symmetry : (Location, XDirection, YDirection).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin">gp_Lin</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Normal">
<code class="descname">Normal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Normal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the line normal to the direction of &lt;self&gt;, passing through the point P. Raises ConstructionError if the distance between &lt;self&gt; and the point P is lower or equal to Resolution from gp because there is an infinity of solutions in 3D space.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin">gp_Lin</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Position">
<code class="descname">Position</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Position" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the axis placement one axis whith the same location and direction as &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Reverse">
<code class="descname">Reverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Reverse" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Reversed">
<code class="descname">Reversed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Reversed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the direction of the line. Note: - Reverse assigns the result to this line, while - Reversed creates a new one.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin">gp_Lin</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates a line. A1 is the axis of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin">gp_Lin</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a line. S is the scaling value. The &#8216;Location&#8217; point (origin) of the line is modified. The &#8216;Direction&#8217; is reversed if the scale is negative.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin">gp_Lin</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.SetDirection">
<code class="descname">SetDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.SetDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the direction of the line.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the location point (origin) of the line.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.SetPosition">
<code class="descname">SetPosition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.SetPosition" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Complete redefinition of the line. The &#8216;Location&#8217; point of &lt;A1&gt; is the origin of the line. The &#8216;Direction&#8217; of &lt;A1&gt; is the direction of the line.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.SquareDistance">
<code class="descname">SquareDistance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.SquareDistance" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the square distance between &lt;self&gt; and the point P.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Computes the square distance between two lines.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin"><em>gp_Lin</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a line with the transformation T from class Trsf.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin">gp_Lin</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a line in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin">gp_Lin</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates a line from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin">gp_Lin</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Lin.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Lin.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Lin2d">
<em class="property">class </em><code class="descname">gp_Lin2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates a Line corresponding to X axis of the reference coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a line located with A.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;P&gt; is the location point (origin) of the line and &lt;V&gt; is the direction of the line.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates the line from the equation A*X + B*Y + C = 0.0 Raises ConstructionError if Sqrt(A*A + B*B) &lt;= Resolution from gp. Raised if Sqrt(A*A + B*B) &lt;= Resolution from gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>B</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>C</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Angle">
<code class="descname">Angle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Angle" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the angle between two lines in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Lin2d" title="OCC.gp.gp_Lin2d"><em>gp_Lin2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Coefficients">
<code class="descname">Coefficients</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Coefficients" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the normalized coefficients of the line : A * X + B * Y + C = 0.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>B</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>C</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Contains">
<code class="descname">Contains</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Contains" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if this line contains the point P, that is, if the distance between point P and this line is less than or equal to LinearTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Direction">
<code class="descname">Direction</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Direction" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the direction of the line.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d">gp_Dir2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Distance">
<code class="descname">Distance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Distance" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the distance between &lt;self&gt; and the point &lt;P&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Computes the distance between two lines.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Lin2d" title="OCC.gp.gp_Lin2d"><em>gp_Lin2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the location point (origin) of the line.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a line with respect to the point &lt;P&gt; which is the center of the symmetry</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Lin2d" title="OCC.gp.gp_Lin2d">gp_Lin2d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a line with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Lin2d" title="OCC.gp.gp_Lin2d">gp_Lin2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Normal">
<code class="descname">Normal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Normal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the line normal to the direction of &lt;self&gt;, passing through the point &lt;P&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Lin2d" title="OCC.gp.gp_Lin2d">gp_Lin2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Position">
<code class="descname">Position</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Position" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the axis placement one axis whith the same location and direction as &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Reverse">
<code class="descname">Reverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Reverse" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Reversed">
<code class="descname">Reversed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Reversed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the positioning axis of this line. Note: - Reverse assigns the result to this line, while - Reversed creates a new one.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Lin2d" title="OCC.gp.gp_Lin2d">gp_Lin2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates a line. P is the center of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Lin2d" title="OCC.gp.gp_Lin2d">gp_Lin2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a line. S is the scaling value. Only the origin of the line is modified.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Lin2d" title="OCC.gp.gp_Lin2d">gp_Lin2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.SetDirection">
<code class="descname">SetDirection</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.SetDirection" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the direction of the line.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the origin of the line.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.SetPosition">
<code class="descname">SetPosition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.SetPosition" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Complete redefinition of the line. The &#8216;Location&#8217; point of &lt;A&gt; is the origin of the line. The &#8216;Direction&#8217; of &lt;A&gt; is the direction of the line.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.SquareDistance">
<code class="descname">SquareDistance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.SquareDistance" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the square distance between &lt;self&gt; and the point &lt;P&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Computes the square distance between two lines.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Lin2d" title="OCC.gp.gp_Lin2d"><em>gp_Lin2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a line with the transformation T from class Trsf2d.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Lin2d" title="OCC.gp.gp_Lin2d">gp_Lin2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Lin2d.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Lin2d.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a line in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Lin2d" title="OCC.gp.gp_Lin2d">gp_Lin2d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates a line from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Lin2d" title="OCC.gp.gp_Lin2d">gp_Lin2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Lin2d.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Lin2d.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Mat">
<em class="property">class </em><code class="descname">gp_Mat</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>creates a matrix with null coefficients.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>a11</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a12</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a13</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a21</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a22</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a23</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a31</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a32</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a33</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a matrix. Col1, Col2, Col3 are the 3 columns of the matrix.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Col1</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>Col2</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>Col3</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Mat.Add">
<code class="descname">Add</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Add" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat"><em>gp_Mat</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Added">
<code class="descname">Added</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Added" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the sum of this matrix and the matrix Other for each coefficient of the matrix : &lt;self&gt;.Coef(i,j) + &lt;Other&gt;.Coef(i,j)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat"><em>gp_Mat</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat">gp_Mat</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.ChangeValue">
<code class="descname">ChangeValue</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.ChangeValue" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coefficient of range (Row, Col) Raises OutOfRange if Row &lt; 1 or Row &gt; 3 or Col &lt; 1 or Col &gt; 3</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Column">
<code class="descname">Column</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Column" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the column of Col index. Raises OutOfRange if Col &lt; 1 or Col &gt; 3</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Determinant">
<code class="descname">Determinant</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Determinant" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the determinant of the matrix.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Diagonal">
<code class="descname">Diagonal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Diagonal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the main diagonal of the matrix.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Divide">
<code class="descname">Divide</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Divide" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Divided">
<code class="descname">Divided</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Divided" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Divides all the coefficients of the matrix by Scalar</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat">gp_Mat</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Invert">
<code class="descname">Invert</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Invert" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Inverted">
<code class="descname">Inverted</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Inverted" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Inverses the matrix and raises if the matrix is singular. - Invert assigns the result to this matrix, while - Inverted creates a new one. Warning The Gauss LU decomposition is used to invert the matrix. Consequently, the matrix is considered as singular if the largest pivot found is less than or equal to gp::Resolution(). Exceptions Standard_ConstructionError if this matrix is singular, and therefore cannot be inverted.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat">gp_Mat</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.IsSingular">
<code class="descname">IsSingular</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.IsSingular" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>The Gauss LU decomposition is used to invert the matrix (see Math package) so the matrix is considered as singular if the largest pivot found is lower or equal to Resolution from gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Multiplied">
<code class="descname">Multiplied</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Multiplied" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the product of two matrices &lt;self&gt; * &lt;Other&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat"><em>gp_Mat</em></a>) &#8211; </li>
<li><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat">gp_Mat</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat">gp_Mat</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Multiply">
<code class="descname">Multiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Multiply" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the product of two matrices &lt;self&gt; = &lt;Other&gt; * &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat"><em>gp_Mat</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Multiplies all the coefficients of the matrix by Scalar</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Power">
<code class="descname">Power</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Power" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>N</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Powered">
<code class="descname">Powered</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Powered" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes &lt;self&gt; = &lt;self&gt; * &lt;self&gt; * .......* &lt;self&gt;, N time. if N = 0 &lt;self&gt; = Identity if N &lt; 0 &lt;self&gt; = &lt;self&gt;.Invert() <em>...........</em> &lt;self&gt;.Invert(). If N &lt; 0 an exception will be raised if the matrix is not inversible</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>N</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat">gp_Mat</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.PreMultiply">
<code class="descname">PreMultiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.PreMultiply" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat"><em>gp_Mat</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Row">
<code class="descname">Row</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Row" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the row of Row index. Raises OutOfRange if Row &lt; 1 or Row &gt; 3</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.SetCol">
<code class="descname">SetCol</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.SetCol" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the three coordinates of Value to the column of index Col of this matrix. Raises OutOfRange if Col &lt; 1 or Col &gt; 3.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Value</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.SetCols">
<code class="descname">SetCols</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.SetCols" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the number triples Col1, Col2, Col3 to the three columns of this matrix.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Col1</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>Col2</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>Col3</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.SetCross">
<code class="descname">SetCross</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.SetCross" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies the matrix M so that applying it to any number triple (X, Y, Z) produces the same result as the cross product of Ref and the number triple (X, Y, Z): i.e.: M * {X,Y,Z}t = Ref.Cross({X, Y ,Z}) this matrix is anti symmetric. To apply this matrix to the triplet {XYZ} is the same as to do the cross product between the triplet Ref and the triplet {XYZ}. Note: this matrix is anti-symmetric.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Ref</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.SetDiagonal">
<code class="descname">SetDiagonal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.SetDiagonal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies the main diagonal of the matrix. &lt;self&gt;.Value (1, 1) = X1 &lt;self&gt;.Value (2, 2) = X2 &lt;self&gt;.Value (3, 3) = X3 The other coefficients of the matrix are not modified.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>X1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>X2</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>X3</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.SetDot">
<code class="descname">SetDot</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.SetDot" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this matrix so that applying it to any number triple (X, Y, Z) produces the same result as the scalar product of Ref and the number triple (X, Y, Z): this * (X,Y,Z) = Ref.(X,Y,Z) Note: this matrix is symmetric.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Ref</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.SetIdentity">
<code class="descname">SetIdentity</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.SetIdentity" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this matrix so that it represents the Identity matrix.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.SetRotation">
<code class="descname">SetRotation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.SetRotation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this matrix so that it represents a rotation. Ang is the angular value in radians and the XYZ axis gives the direction of the rotation. Raises ConstructionError if XYZ.Modulus() &lt;= Resolution()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Axis</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.SetRow">
<code class="descname">SetRow</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.SetRow" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the three coordinates of Value to the row of index Row of this matrix. Raises OutOfRange if Row &lt; 1 or Row &gt; 3.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Value</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.SetRows">
<code class="descname">SetRows</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.SetRows" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the number triples Row1, Row2, Row3 to the three rows of this matrix.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row1</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>Row2</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>Row3</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.SetScale">
<code class="descname">SetScale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.SetScale" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies the the matrix so that it represents a scaling transformation, where S is the scale factor. : | S 0.0 0.0 | &lt;self&gt; = | 0.0 S 0.0 | | 0.0 0.0 S |</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.SetValue">
<code class="descname">SetValue</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.SetValue" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns &lt;Value&gt; to the coefficient of row Row, column Col of this matrix. Raises OutOfRange if Row &lt; 1 or Row &gt; 3 or Col &lt; 1 or Col &gt; 3</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Value</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Subtract">
<code class="descname">Subtract</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Subtract" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat"><em>gp_Mat</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Subtracted">
<code class="descname">Subtracted</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Subtracted" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>cOmputes for each coefficient of the matrix : &lt;self&gt;.Coef(i,j) - &lt;Other&gt;.Coef(i,j)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat"><em>gp_Mat</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat">gp_Mat</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Transpose">
<code class="descname">Transpose</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Transpose" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Transposed">
<code class="descname">Transposed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Transposed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transposes the matrix. A(j, i) -&gt; A (i, j)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat">gp_Mat</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat.Value">
<code class="descname">Value</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat.Value" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coefficient of range (Row, Col) Raises OutOfRange if Row &lt; 1 or Row &gt; 3 or Col &lt; 1 or Col &gt; 3</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Mat.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Mat.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Mat2d">
<em class="property">class </em><code class="descname">gp_Mat2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates a matrix with null coefficients.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Col1, Col2 are the 2 columns of the matrix.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Col1</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
<li><strong>Col2</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Add">
<code class="descname">Add</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Add" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d"><em>gp_Mat2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Added">
<code class="descname">Added</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Added" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the sum of this matrix and the matrix Other.for each coefficient of the matrix : &lt;self&gt;.Coef(i,j) + &lt;Other&gt;.Coef(i,j) Note: - operator += assigns the result to this matrix, while - operator + creates a new one.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d"><em>gp_Mat2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d">gp_Mat2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.ChangeValue">
<code class="descname">ChangeValue</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.ChangeValue" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coefficient of range (Row, Col) Raises OutOfRange if Row &lt; 1 or Row &gt; 2 or Col &lt; 1 or Col &gt; 2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Column">
<code class="descname">Column</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Column" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the column of Col index. Raises OutOfRange if Col &lt; 1 or Col &gt; 2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Determinant">
<code class="descname">Determinant</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Determinant" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the determinant of the matrix.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Diagonal">
<code class="descname">Diagonal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Diagonal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the main diagonal of the matrix.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Divide">
<code class="descname">Divide</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Divide" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Divided">
<code class="descname">Divided</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Divided" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Divides all the coefficients of the matrix by a scalar.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d">gp_Mat2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Invert">
<code class="descname">Invert</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Invert" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Inverted">
<code class="descname">Inverted</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Inverted" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Inverses the matrix and raises exception if the matrix is singular.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d">gp_Mat2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.IsSingular">
<code class="descname">IsSingular</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.IsSingular" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if this matrix is singular (and therefore, cannot be inverted). The Gauss LU decomposition is used to invert the matrix so the matrix is considered as singular if the largest pivot found is lower or equal to Resolution from gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Multiplied">
<code class="descname">Multiplied</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Multiplied" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d"><em>gp_Mat2d</em></a>) &#8211; </li>
<li><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d">gp_Mat2d</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d">gp_Mat2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Multiply">
<code class="descname">Multiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Multiply" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the product of two matrices &lt;self&gt; * &lt;Other&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d"><em>gp_Mat2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Multiplies all the coefficients of the matrix by a scalar.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Power">
<code class="descname">Power</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Power" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>N</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Powered">
<code class="descname">Powered</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Powered" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>computes &lt;self&gt; = &lt;self&gt; * &lt;self&gt; * .......* &lt;self&gt;, N time. if N = 0 &lt;self&gt; = Identity if N &lt; 0 &lt;self&gt; = &lt;self&gt;.Invert() <em>...........</em> &lt;self&gt;.Invert(). If N &lt; 0 an exception can be raised if the matrix is not inversible</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>N</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d">gp_Mat2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.PreMultiply">
<code class="descname">PreMultiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.PreMultiply" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this matrix by premultiplying it by the matrix Other &lt;self&gt; = Other * &lt;self&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d"><em>gp_Mat2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Row">
<code class="descname">Row</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Row" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the row of index Row. Raised if Row &lt; 1 or Row &gt; 2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.SetCol">
<code class="descname">SetCol</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.SetCol" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the two coordinates of Value to the column of range Col of this matrix Raises OutOfRange if Col &lt; 1 or Col &gt; 2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Value</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.SetCols">
<code class="descname">SetCols</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.SetCols" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the number pairs Col1, Col2 to the two columns of this matrix</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Col1</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
<li><strong>Col2</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.SetDiagonal">
<code class="descname">SetDiagonal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.SetDiagonal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies the main diagonal of the matrix. &lt;self&gt;.Value (1, 1) = X1 &lt;self&gt;.Value (2, 2) = X2 The other coefficients of the matrix are not modified.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>X1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>X2</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.SetIdentity">
<code class="descname">SetIdentity</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.SetIdentity" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this matrix, so that it represents the Identity matrix.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.SetRotation">
<code class="descname">SetRotation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.SetRotation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this matrix, so that it representso a rotation. Ang is the angular value in radian of the rotation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.SetRow">
<code class="descname">SetRow</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.SetRow" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the two coordinates of Value to the row of index Row of this matrix. Raises OutOfRange if Row &lt; 1 or Row &gt; 2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Value</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.SetRows">
<code class="descname">SetRows</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.SetRows" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the number pairs Row1, Row2 to the two rows of this matrix.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row1</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
<li><strong>Row2</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.SetScale">
<code class="descname">SetScale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.SetScale" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies the matrix such that it represents a scaling transformation, where S is the scale factor : | S 0.0 | &lt;self&gt; = | 0.0 S |</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.SetValue">
<code class="descname">SetValue</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.SetValue" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns &lt;Value&gt; to the coefficient of row Row, column Col of this matrix. Raises OutOfRange if Row &lt; 1 or Row &gt; 2 or Col &lt; 1 or Col &gt; 2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Value</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Subtract">
<code class="descname">Subtract</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Subtract" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d"><em>gp_Mat2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Subtracted">
<code class="descname">Subtracted</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Subtracted" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes for each coefficient of the matrix : &lt;self&gt;.Coef(i,j) - &lt;Other&gt;.Coef(i,j)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d"><em>gp_Mat2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d">gp_Mat2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Transpose">
<code class="descname">Transpose</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Transpose" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Transposed">
<code class="descname">Transposed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Transposed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transposes the matrix. A(j, i) -&gt; A (i, j)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d">gp_Mat2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Mat2d.Value">
<code class="descname">Value</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Mat2d.Value" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coefficient of range (Row, Col) Raises OutOfRange if Row &lt; 1 or Row &gt; 2 or Col &lt; 1 or Col &gt; 2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Mat2d.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Mat2d.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_OX">
<code class="descname">gp_OX</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_OX" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies an axis where its origin is Origin and its unit vector coordinates X = 1.0, Y = Z = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_OX2d">
<code class="descname">gp_OX2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_OX2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies an axis where its origin is Origin2d and its unit vector coordinates are: X = 1.0, Y = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_OY">
<code class="descname">gp_OY</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_OY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies an axis where its origin is Origin and its unit vector coordinates Y = 1.0, X = Z = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_OY2d">
<code class="descname">gp_OY2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_OY2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies an axis where its origin is Origin2d and its unit vector coordinates are Y = 1.0, X = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_OZ">
<code class="descname">gp_OZ</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_OZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies an axis where its origin is Origin and its unit vector coordinates Z = 1.0, Y = X = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_Origin">
<code class="descname">gp_Origin</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Origin" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies a Cartesian point with coordinates X = Y = Z = 0.0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_Origin2d">
<code class="descname">gp_Origin2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Origin2d" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies a Cartesian point with coordinates X = Y = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Parab">
<em class="property">class </em><code class="descname">gp_Parab</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates an indefinite Parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a parabola with its local coordinate system &#8216;A2&#8217; and it&#8217;s focal length &#8216;Focal&#8217;. The XDirection of A2 defines the axis of symmetry of the parabola. The YDirection of A2 is parallel to the directrix of the parabola. The Location point of A2 is the vertex of the parabola Raises ConstructionError if Focal &lt; 0.0 Raised if Focal &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
<li><strong>Focal</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>D is the directrix of the parabola and F the focus point. The symmetry axis (XAxis) of the parabola is normal to the directrix and pass through the focus point F, but its location point is the vertex of the parabola. The YAxis of the parabola is parallel to D and its location point is the vertex of the parabola. The normal to the plane of the parabola is the cross product between the XAxis and the YAxis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>D</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>F</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Parab.Axis">
<code class="descname">Axis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Axis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the main axis of the parabola. It is the axis normal to the plane of the parabola passing through the vertex of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Directrix">
<code class="descname">Directrix</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Directrix" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the directrix of this parabola. The directrix is: - a line parallel to the &#8216;Y Direction&#8217; of the local coordinate system of this parabola, and - located on the negative side of the axis of symmetry, at a distance from the apex which is equal to the focal length of this parabola. The directrix is returned as an axis (a gp_Ax1 object), the origin of which is situated on the &#8216;X Axis&#8217; of this parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Focal">
<code class="descname">Focal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Focal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the distance between the vertex and the focus of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Focus">
<code class="descname">Focus</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Focus" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li><ul class="first">
<li>Computes the focus of the parabola.</li>
</ul>
</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the vertex of the parabola. It is the &#8216;Location&#8217; point of the coordinate system of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a parabola with respect to the point P which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Parab" title="OCC.gp.gp_Parab">gp_Parab</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a parabola with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Parab" title="OCC.gp.gp_Parab">gp_Parab</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a parabola with respect to a plane. The axis placement A2 locates the plane of the symmetry (Location, XDirection, YDirection).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Parab" title="OCC.gp.gp_Parab">gp_Parab</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Parameter">
<code class="descname">Parameter</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Parameter" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the parameter of the parabola. It is the distance between the focus and the directrix of the parabola. This distance is twice the focal length.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Position">
<code class="descname">Position</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Position" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the local coordinate system of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates a parabola. A1 is the axis of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Parab" title="OCC.gp.gp_Parab">gp_Parab</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a parabola. S is the scaling value. If S is negative the direction of the symmetry axis XAxis is reversed and the direction of the YAxis too.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Parab" title="OCC.gp.gp_Parab">gp_Parab</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.SetAxis">
<code class="descname">SetAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.SetAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this parabola by redefining its local coordinate system so that - its origin and &#8216;main Direction&#8217; become those of the axis A1 (the &#8216;X Direction&#8217; and &#8216;Y Direction&#8217; are then recomputed in the same way as for any gp_Ax2) Raises ConstructionError if the direction of A1 is parallel to the previous XAxis of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.SetFocal">
<code class="descname">SetFocal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.SetFocal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the focal distance of the parabola. Raises ConstructionError if Focal &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Focal</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the location of the parabola. It is the vertex of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.SetPosition">
<code class="descname">SetPosition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.SetPosition" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the local coordinate system of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a parabola with the transformation T from class Trsf.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Parab" title="OCC.gp.gp_Parab">gp_Parab</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a parabola in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Parab" title="OCC.gp.gp_Parab">gp_Parab</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates a parabola from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Parab" title="OCC.gp.gp_Parab">gp_Parab</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.XAxis">
<code class="descname">XAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.XAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the symmetry axis of the parabola. The location point of the axis is the vertex of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab.YAxis">
<code class="descname">YAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab.YAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>It is an axis parallel to the directrix of the parabola. The location point of this axis is the vertex of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Parab.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Parab.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Parab2d">
<em class="property">class </em><code class="descname">gp_Parab2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates an indefinite parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a parabola with its vertex point, its axis of symmetry (&#8216;XAxis&#8217;) and its focal length. The sense of parametrization is given by Sense. Warnings : It is possible to have Focal = 0. Raises ConstructionError if Focal &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>MirrorAxis</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
<li><strong>Focal</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Sense</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) &#8211; default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a parabola with its vertex point, its axis of symmetry (&#8216;XAxis&#8217;) and its focal length. The sense of parametrization is given by A. Warnings : It is possible to have Focal = 0. Raises ConstructionError if Focal &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d"><em>gp_Ax22d</em></a>) &#8211; </li>
<li><strong>Focal</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a parabola with the directrix and the focus point. The sense of parametrization is given by Sense.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>D</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
<li><strong>F</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Sense</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)"><em>bool</em></a>) &#8211; default value is Standard_True</li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a parabola with the directrix and the focus point. The Sense of parametrization is given by D.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>D</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d"><em>gp_Ax22d</em></a>) &#8211; </li>
<li><strong>F</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Axis">
<code class="descname">Axis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Axis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the local coordinate system of the parabola. The &#8216;Location&#8217; point of this axis is the vertex of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d">gp_Ax22d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Coefficients">
<code class="descname">Coefficients</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Coefficients" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the coefficients of the implicit equation of the parabola. A * (X**2) + B * (Y**2) + 2*C*(X*Y) + 2*D*X + 2*E*Y + F = 0.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>B</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>C</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>D</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>E</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>F</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Directrix">
<code class="descname">Directrix</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Directrix" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the directrix of the parabola. The directrix is: - a line parallel to the &#8216;Y Direction&#8217; of the local coordinate system of this parabola, and - located on the negative side of the axis of symmetry, at a distance from the apex which is equal to the focal length of this parabola. The directrix is returned as an axis (a gp_Ax2d object), the origin of which is situated on the &#8216;X Axis&#8217; of this parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Focal">
<code class="descname">Focal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Focal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the distance between the vertex and the focus of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Focus">
<code class="descname">Focus</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Focus" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the focus of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.IsDirect">
<code class="descname">IsDirect</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.IsDirect" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if the local coordinate system is direct and false in the other case.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the vertex of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.MirrorAxis">
<code class="descname">MirrorAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.MirrorAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the symmetry axis of the parabola. The &#8216;Location&#8217; point of this axis is the vertex of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d">gp_Ax2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a parabola with respect to the point P which is the center of the symmetry</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Parab2d" title="OCC.gp.gp_Parab2d">gp_Parab2d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a parabola with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Parab2d" title="OCC.gp.gp_Parab2d">gp_Parab2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Parameter">
<code class="descname">Parameter</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Parameter" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the distance between the focus and the directrix of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Reverse">
<code class="descname">Reverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Reverse" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Reversed">
<code class="descname">Reversed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Reversed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the orientation of the local coordinate system of this parabola (the &#8216;Y Direction&#8217; is reversed). Therefore, the implicit orientation of this parabola is reversed. Note: - Reverse assigns the result to this parabola, while - Reversed creates a new one.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Parab2d" title="OCC.gp.gp_Parab2d">gp_Parab2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates a parabola. P is the center of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Parab2d" title="OCC.gp.gp_Parab2d">gp_Parab2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a parabola. S is the scaling value. If S is negative the direction of the symmetry axis &#8216;XAxis&#8217; is reversed and the direction of the &#8216;YAxis&#8217; too.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Parab2d" title="OCC.gp.gp_Parab2d">gp_Parab2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.SetAxis">
<code class="descname">SetAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.SetAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the local coordinate system of the parabola. The &#8216;Location&#8217; point of A becomes the vertex of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax22d" title="OCC.gp.gp_Ax22d"><em>gp_Ax22d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.SetFocal">
<code class="descname">SetFocal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.SetFocal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the focal distance of the parabola Warnings : It is possible to have Focal = 0. Raises ConstructionError if Focal &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Focal</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the &#8216;Location&#8217; point of the parabola. It is the vertex of the parabola.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.SetMirrorAxis">
<code class="descname">SetMirrorAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.SetMirrorAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this parabola, by redefining its local coordinate system so that its origin and &#8216;X Direction&#8217; become those of the axis MA. The &#8216;Y Direction&#8217; of the local coordinate system is then recomputed. The orientation of the local coordinate system is not modified.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms an parabola with the transformation T from class Trsf2d.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Parab2d" title="OCC.gp.gp_Parab2d">gp_Parab2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Parab2d.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Parab2d.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a parabola in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Parab2d" title="OCC.gp.gp_Parab2d">gp_Parab2d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates a parabola from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Parab2d" title="OCC.gp.gp_Parab2d">gp_Parab2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Parab2d.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Parab2d.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Pln">
<em class="property">class </em><code class="descname">gp_Pln</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates a plane coincident with OXY plane of the reference coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>The coordinate system of the plane is defined with the axis placement A3. The &#8216;Direction&#8217; of A3 defines the normal to the plane. The &#8216;Location&#8217; of A3 defines the location (origin) of the plane. The &#8216;XDirection&#8217; and &#8216;YDirection&#8217; of A3 define the &#8216;XAxis&#8217; and the &#8216;YAxis&#8217; of the plane used to parametrize the plane.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A3</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a plane with the &#8216;Location&#8217; point &lt;P&gt; and the normal direction &lt;V&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a plane from its cartesian equation : A * X + B * Y + C * Z + D = 0.0 Raises ConstructionError if Sqrt (A*A + B*B + C*C) &lt;= Resolution from gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>B</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>C</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>D</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Pln.Axis">
<code class="descname">Axis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Axis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the plane&#8217;s normal Axis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Coefficients">
<code class="descname">Coefficients</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Coefficients" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coefficients of the plane&#8217;s cartesian equation : A * X + B * Y + C * Z + D = 0.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>B</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>C</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>D</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Contains">
<code class="descname">Contains</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Contains" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if this plane contains the point P. This means that - the distance between point P and this plane is less than or equal to LinearTolerance, or - line L is normal to the &#8216;main Axis&#8217; of the local coordinate system of this plane, within the tolerance AngularTolerance, and the distance between the origin of line L and this plane is less than or equal to LinearTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns true if this plane contains the line L. This means that - the distance between point P and this plane is less than or equal to LinearTolerance, or - line L is normal to the &#8216;main Axis&#8217; of the local coordinate system of this plane, within the tolerance AngularTolerance, and the distance between the origin of line L and this plane is less than or equal to LinearTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>L</strong> (<a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin"><em>gp_Lin</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Direct">
<code class="descname">Direct</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Direct" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns true if the Ax3 is right handed.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Distance">
<code class="descname">Distance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Distance" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the distance between &lt;self&gt; and the point &lt;P&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Computes the distance between &lt;self&gt; and the line &lt;L&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin"><em>gp_Lin</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Computes the distance between two planes.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Pln" title="OCC.gp.gp_Pln"><em>gp_Pln</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the plane&#8217;s location (origin).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a plane with respect to the point &lt;P&gt; which is the center of the symmetry Warnings : The normal direction to the plane is not changed. The &#8216;XAxis&#8217; and the &#8216;YAxis&#8217; are reversed.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pln" title="OCC.gp.gp_Pln">gp_Pln</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a plane with respect to an axis placement which is the axis of the symmetry. The transformation is performed on the &#8216;Location&#8217; point, on the &#8216;XAxis&#8217; and the &#8216;YAxis&#8217;. The resulting normal direction is the cross product between the &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; after transformation if the initial plane was right handed, else it is the opposite.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pln" title="OCC.gp.gp_Pln">gp_Pln</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a plane with respect to an axis placement. The axis placement &lt;A2&gt; locates the plane of the symmetry. The transformation is performed on the &#8216;Location&#8217; point, on the &#8216;XAxis&#8217; and the &#8216;YAxis&#8217;. The resulting normal direction is the cross product between the &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; after transformation if the initial plane was right handed, else it is the opposite.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pln" title="OCC.gp.gp_Pln">gp_Pln</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Position">
<code class="descname">Position</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Position" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the local coordinate system of the plane .</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3">gp_Ax3</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>rotates a plane. A1 is the axis of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Pln" title="OCC.gp.gp_Pln">gp_Pln</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a plane. S is the scaling value.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Pln" title="OCC.gp.gp_Pln">gp_Pln</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.SetAxis">
<code class="descname">SetAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.SetAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this plane, by redefining its local coordinate system so that - its origin and &#8216;main Direction&#8217; become those of the axis A1 (the &#8216;X Direction&#8217; and &#8216;Y Direction&#8217; are then recomputed). Raises ConstructionError if the A1 is parallel to the &#8216;XAxis&#8217; of the plane.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the origin of the plane.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Loc</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.SetPosition">
<code class="descname">SetPosition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.SetPosition" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the local coordinate system of the plane.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A3</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.SquareDistance">
<code class="descname">SquareDistance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.SquareDistance" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the square distance between &lt;self&gt; and the point &lt;P&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Computes the square distance between &lt;self&gt; and the line &lt;L&gt;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>L</strong> (<a class="reference internal" href="#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin"><em>gp_Lin</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Computes the square distance between two planes.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Pln" title="OCC.gp.gp_Pln"><em>gp_Pln</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a plane with the transformation T from class Trsf. The transformation is performed on the &#8216;Location&#8217; point, on the &#8216;XAxis&#8217; and the &#8216;YAxis&#8217;. The resulting normal direction is the cross product between the &#8216;XDirection&#8217; and the &#8216;YDirection&#8217; after transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pln" title="OCC.gp.gp_Pln">gp_Pln</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a plane in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pln" title="OCC.gp.gp_Pln">gp_Pln</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates a plane from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Pln" title="OCC.gp.gp_Pln">gp_Pln</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.UReverse">
<code class="descname">UReverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.UReverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the U parametrization of the plane reversing the XAxis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.VReverse">
<code class="descname">VReverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.VReverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the V parametrization of the plane reversing the YAxis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.XAxis">
<code class="descname">XAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.XAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the X axis of the plane.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pln.YAxis">
<code class="descname">YAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pln.YAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the Y axis of the plane.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Pln.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Pln.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Pnt">
<em class="property">class </em><code class="descname">gp_Pnt</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates a point with zero coordinates.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a point from a XYZ object.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a point with its 3 cartesian&#8217;s coordinates : Xp, Yp, Zp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xp</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Yp</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Zp</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Pnt.BaryCenter">
<code class="descname">BaryCenter</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.BaryCenter" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the result of the following expression to this point (Alpha*this + Beta*P) / (Alpha + Beta)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Alpha</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>Beta</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.ChangeCoord">
<code class="descname">ChangeCoord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.ChangeCoord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coordinates of this point. Note: This syntax allows direct modification of the returned value.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.Coord">
<code class="descname">Coord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.Coord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coordinate of corresponding to the value of Index : Index = 1 =&gt; X is returned Index = 2 =&gt; Y is returned Index = 3 =&gt; Z is returned Raises OutOfRange if Index != {1, 2, 3}. Raised if Index != {1, 2, 3}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>For this point gives its three coordinates Xp, Yp and Zp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xp</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Yp</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Zp</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>For this point, returns its three coordinates as a XYZ object.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.Distance">
<code class="descname">Distance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.Distance" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the distance between two points.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.IsEqual">
<code class="descname">IsEqual</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.IsEqual" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Comparison Returns True if the distance between the two points is lower or equal to LinearTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a point with respect to the point P which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a point with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a point with respect to a plane. The axis placement A2 locates the plane of the symmetry : (Location, XDirection, YDirection).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Rotates a point. A1 is the axis of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a point. S is the scaling value.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a point with the transformation T.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.SetCoord">
<code class="descname">SetCoord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.SetCoord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the coordinate of range Index : Index = 1 =&gt; X is modified Index = 2 =&gt; Y is modified Index = 3 =&gt; Z is modified Raised if Index != {1, 2, 3}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Xi</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>For this point, assigns the values Xp, Yp and Zp to its three coordinates.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xp</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Yp</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Zp</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.SetX">
<code class="descname">SetX</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.SetX" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the X coordinate of this point.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>X</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.SetXYZ">
<code class="descname">SetXYZ</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.SetXYZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the three coordinates of Coord to this point.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.SetY">
<code class="descname">SetY</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.SetY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the Y coordinate of this point.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Y</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.SetZ">
<code class="descname">SetZ</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.SetZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the Z coordinate of this point.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Z</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.SquareDistance">
<code class="descname">SquareDistance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.SquareDistance" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the square distance between two points.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a point in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a point from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.X">
<code class="descname">X</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.X" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this point, returns its X coordinate.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.XYZ">
<code class="descname">XYZ</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.XYZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this point, returns its three coordinates as a XYZ object.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.Y">
<code class="descname">Y</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.Y" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this point, returns its Y coordinate.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt.Z">
<code class="descname">Z</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt.Z" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this point, returns its Z coordinate.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Pnt.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Pnt.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Pnt2d">
<em class="property">class </em><code class="descname">gp_Pnt2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates a point with zero coordinates.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a point with a doublet of coordinates.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a point with its 2 cartesian&#8217;s coordinates : Xp, Yp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xp</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Yp</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.ChangeCoord">
<code class="descname">ChangeCoord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.ChangeCoord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coordinates of this point. Note: This syntax allows direct modification of the returned value.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.Coord">
<code class="descname">Coord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.Coord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coordinate of range Index : Index = 1 =&gt; X is returned Index = 2 =&gt; Y is returned Raises OutOfRange if Index != {1, 2}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>For this point returns its two coordinates as a number pair.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xp</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Yp</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>For this point, returns its two coordinates as a number pair.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.Distance">
<code class="descname">Distance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.Distance" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the distance between two points.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.IsEqual">
<code class="descname">IsEqual</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.IsEqual" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Comparison Returns True if the distance between the two points is lower or equal to LinearTolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a point with respect to the point P which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a point with respect to an axis placement which is the axis</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Rotates a point. A1 is the axis of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a point. S is the scaling value.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a point with the transformation T.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.SetCoord">
<code class="descname">SetCoord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.SetCoord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the value Xi to the coordinate that corresponds to Index: Index = 1 =&gt; X is modified Index = 2 =&gt; Y is modified Raises OutOfRange if Index != {1, 2}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Xi</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>For this point, assigns the values Xp and Yp to its two coordinates</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xp</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Yp</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.SetX">
<code class="descname">SetX</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.SetX" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the X coordinate of this point.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>X</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.SetXY">
<code class="descname">SetXY</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.SetXY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the two coordinates of Coord to this point.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.SetY">
<code class="descname">SetY</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.SetY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the Y coordinate of this point.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Y</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.SquareDistance">
<code class="descname">SquareDistance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.SquareDistance" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the square distance between two points.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a point in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a point from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d">gp_Pnt2d</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.X">
<code class="descname">X</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.X" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this point, returns its X coordinate.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.XY">
<code class="descname">XY</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.XY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this point, returns its two coordinates as a number pair.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Pnt2d.Y">
<code class="descname">Y</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Pnt2d.Y" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this point, returns its Y coordinate.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Pnt2d.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Pnt2d.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Quaternion">
<em class="property">class </em><code class="descname">gp_Quaternion</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates an identity quaternion</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates quaternion directly from component values</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>x</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>y</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>z</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>w</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates copy of another quaternion</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theToCopy</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates quaternion representing shortest-arc rotation operator producing vector theVecTo from vector theVecFrom.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theVecFrom</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>theVecTo</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates quaternion representing shortest-arc rotation operator producing vector theVecTo from vector theVecFrom. Additional vector theHelpCrossVec defines preferred direction for rotation and is used when theVecTo and theVecFrom are directed oppositely.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theVecFrom</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>theVecTo</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>theHelpCrossVec</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates quaternion representing rotation on angle theAngle around vector theAxis</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theAxis</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>theAngle</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates quaternion from rotation matrix 3*3 (which should be orthonormal skew-symmetric matrix)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theMat</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat"><em>gp_Mat</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Add">
<code class="descname">Add</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Add" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Adds componnets of other quaternion; result is &#8216;rotations mix&#8217;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theOther</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Added">
<code class="descname">Added</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Added" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Makes sum of quaternion components; result is &#8216;rotations mix&#8217;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theOther</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion">gp_Quaternion</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Dot">
<code class="descname">Dot</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Dot" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes inner product / scalar product / Dot</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theOther</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.GetEulerAngles">
<code class="descname">GetEulerAngles</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.GetEulerAngles" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns Euler angles describing current rotation</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theOrder</strong> (<em>gp_EulerSequence</em>) &#8211; </li>
<li><strong>theAlpha</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>theBeta</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>theGamma</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.GetMatrix">
<code class="descname">GetMatrix</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.GetMatrix" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns rotation operation as 3*3 matrix</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat">gp_Mat</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.GetRotationAngle">
<code class="descname">GetRotationAngle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.GetRotationAngle" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return rotation angle from -PI to PI</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.GetVectorAndAngle">
<code class="descname">GetVectorAndAngle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.GetVectorAndAngle" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Convert a quaternion to Axis+Angle representation, preserve the axis direction and angle from -PI to +PI</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theAxis</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>theAngle</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Invert">
<code class="descname">Invert</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Invert" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Inverts quaternion (both rotation direction and norm)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Inverted">
<code class="descname">Inverted</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Inverted" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return inversed quaternion q^-1</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion">gp_Quaternion</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.IsEqual">
<code class="descname">IsEqual</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.IsEqual" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Simple equal test without precision</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theOther</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Multiplied">
<code class="descname">Multiplied</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Multiplied" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Multiply function - work the same as Matrices multiplying. qq&#8217; = (cross(v,v&#8217;) + wv&#8217; + w&#8217;v, ww&#8217; - dot(v,v&#8217;)) Result is rotation combination: q&#8217; than q (here q=this, q&#8217;=theQ). Notices than: qq&#8217; != q&#8217;q; qq^-1 = q;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theOther</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion">gp_Quaternion</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Multiply">
<code class="descname">Multiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Multiply" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Adds rotation by multiplication</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theOther</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Rotates vector by quaternion as rotation operator</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theVec</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec">gp_Vec</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Negated">
<code class="descname">Negated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Negated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns quaternion with all components negated. Note that this operation does not affect neither rotation operator defined by quaternion nor its norm.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion">gp_Quaternion</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Norm">
<code class="descname">Norm</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Norm" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns norm of quaternion</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Normalize">
<code class="descname">Normalize</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Normalize" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scale quaternion that its norm goes to 1. The appearing of 0 magnitude or near is a error, so we can be sure that can divide by magnitude</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Normalized">
<code class="descname">Normalized</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Normalized" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns quaternion scaled so that its norm goes to 1.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion">gp_Quaternion</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Reverse">
<code class="descname">Reverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Reverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverse direction of rotation (conjugate quaternion)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Reversed">
<code class="descname">Reversed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Reversed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Return rotation with reversed direction (conjugated quaternion)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion">gp_Quaternion</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Scale" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scale all components by quaternion by theScale; note that rotation is not changed by this operation (except 0-scaling)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theScale</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns scaled quaternion</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theScale</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion">gp_Quaternion</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Set">
<code class="descname">Set</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Set" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>x</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>y</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>z</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>w</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>theQuaternion</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.SetEulerAngles">
<code class="descname">SetEulerAngles</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.SetEulerAngles" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Create a unit quaternion representing rotation defined by generalized Euler angles</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theOrder</strong> (<em>gp_EulerSequence</em>) &#8211; </li>
<li><strong>theAlpha</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>theBeta</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>theGamma</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.SetIdent">
<code class="descname">SetIdent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.SetIdent" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Make identity quaternion (zero-rotation)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.SetMatrix">
<code class="descname">SetMatrix</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.SetMatrix" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Create a unit quaternion by rotation matrix matrix must contain only rotation (not scale or shear) //! For numerical stability we find first the greatest component of quaternion and than search others from this one</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theMat</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat"><em>gp_Mat</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.SetRotation">
<code class="descname">SetRotation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.SetRotation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets quaternion to shortest-arc rotation producing vector theVecTo from vector theVecFrom. If vectors theVecFrom and theVecTo are opposite then rotation axis is computed as theVecFrom ^ (1,0,0) or theVecFrom ^ (0,0,1).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theVecFrom</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>theVecTo</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Sets quaternion to shortest-arc rotation producing vector theVecTo from vector theVecFrom. If vectors theVecFrom and theVecTo are opposite then rotation axis is computed as theVecFrom ^ theHelpCrossVec.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theVecFrom</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>theVecTo</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>theHelpCrossVec</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.SetVectorAndAngle">
<code class="descname">SetVectorAndAngle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.SetVectorAndAngle" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Create a unit quaternion from Axis+Angle representation</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theAxis</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>theAngle</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.SquareNorm">
<code class="descname">SquareNorm</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.SquareNorm" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns square norm of quaternion</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.StabilizeLength">
<code class="descname">StabilizeLength</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.StabilizeLength" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Stabilize quaternion length within 1 - 1/4. This operation is a lot faster than normalization and preserve length goes to 0 or infinity</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Subtract">
<code class="descname">Subtract</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Subtract" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Subtracts componnets of other quaternion; result is &#8216;rotations mix&#8217;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theOther</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Subtracted">
<code class="descname">Subtracted</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Subtracted" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Makes difference of quaternion components; result is &#8216;rotations mix&#8217;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theOther</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion">gp_Quaternion</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.W">
<code class="descname">W</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.W" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.X">
<code class="descname">X</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.X" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Y">
<code class="descname">Y</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Y" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Quaternion.Z">
<code class="descname">Z</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Quaternion.Z" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Quaternion.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Quaternion.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_QuaternionNLerp">
<em class="property">class </em><code class="descname">gp_QuaternionNLerp</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_QuaternionNLerp" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theQStart</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
<li><strong>theQEnd</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_QuaternionNLerp.Init">
<code class="descname">Init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_QuaternionNLerp.Init" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theQStart</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
<li><strong>theQEnd</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_QuaternionNLerp.InitFromUnit">
<code class="descname">InitFromUnit</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_QuaternionNLerp.InitFromUnit" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theQStart</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
<li><strong>theQEnd</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="staticmethod">
<dt id="OCC.gp.gp_QuaternionNLerp.Interpolate">
<em class="property">static </em><code class="descname">Interpolate</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_QuaternionNLerp.Interpolate" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Set interpolated quaternion for theT position (from 0.0 to 1.0)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theT</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>theResultQ</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
<li><strong>theQStart</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
<li><strong>theQEnd</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
<li><strong>theT</strong> &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion">gp_Quaternion</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_QuaternionNLerp.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_QuaternionNLerp.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_QuaternionNLerp_Interpolate">
<code class="descname">gp_QuaternionNLerp_Interpolate</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_QuaternionNLerp_Interpolate" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Set interpolated quaternion for theT position (from 0.0 to 1.0)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theT</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>theResultQ</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
<li><strong>theQStart</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
<li><strong>theQEnd</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
<li><strong>theT</strong> &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion">gp_Quaternion</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_QuaternionSLerp">
<em class="property">class </em><code class="descname">gp_QuaternionSLerp</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_QuaternionSLerp" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theQStart</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
<li><strong>theQEnd</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_QuaternionSLerp.Init">
<code class="descname">Init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_QuaternionSLerp.Init" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theQStart</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
<li><strong>theQEnd</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_QuaternionSLerp.InitFromUnit">
<code class="descname">InitFromUnit</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_QuaternionSLerp.InitFromUnit" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theQStart</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
<li><strong>theQEnd</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_QuaternionSLerp.Interpolate">
<code class="descname">Interpolate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_QuaternionSLerp.Interpolate" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Set interpolated quaternion for theT position (from 0.0 to 1.0)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theT</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>theResultQ</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_QuaternionSLerp.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_QuaternionSLerp.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_Resolution">
<code class="descname">gp_Resolution</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Resolution" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Method of package gp //! In geometric computations, defines the tolerance criterion used to determine when two numbers can be considered equal. Many class functions use this tolerance criterion, for example, to avoid division by zero in geometric computations. In the documentation, tolerance criterion is always referred to as gp::Resolution().</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Sphere">
<em class="property">class </em><code class="descname">gp_Sphere</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates an indefinite sphere.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Constructs a sphere with radius Radius, centered on the origin of A3. A3 is the local coordinate system of the sphere. Warnings : It is not forbidden to create a sphere with null radius. Raises ConstructionError if Radius &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A3</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </li>
<li><strong>Radius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Sphere.Area">
<code class="descname">Area</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Area" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the aera of the sphere.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Coefficients">
<code class="descname">Coefficients</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Coefficients" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the coefficients of the implicit equation of the quadric in the absolute cartesian coordinates system : A1.X**2 + A2.Y**2 + A3.Z**2 + 2.(B1.X.Y + B2.X.Z + B3.Y.Z) + 2.(C1.X + C2.Y + C3.Z) + D = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>A2</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>A3</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>B1</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>B2</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>B3</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>C1</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>C2</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>C3</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>D</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Direct">
<code class="descname">Direct</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Direct" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if the local coordinate system of this sphere is right-handed.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>&#8212; Purpose ; Returns the center of the sphere.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a sphere with respect to the point P which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Sphere" title="OCC.gp.gp_Sphere">gp_Sphere</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a sphere with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Sphere" title="OCC.gp.gp_Sphere">gp_Sphere</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a sphere with respect to a plane. The axis placement A2 locates the plane of the of the symmetry : (Location, XDirection, YDirection).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Sphere" title="OCC.gp.gp_Sphere">gp_Sphere</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Position">
<code class="descname">Position</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Position" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the local coordinates system of the sphere.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3">gp_Ax3</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Radius">
<code class="descname">Radius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Radius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the radius of the sphere.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates a sphere. A1 is the axis of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Sphere" title="OCC.gp.gp_Sphere">gp_Sphere</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a sphere. S is the scaling value. The absolute value of S is used to scale the sphere</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Sphere" title="OCC.gp.gp_Sphere">gp_Sphere</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the center of the sphere.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Loc</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.SetPosition">
<code class="descname">SetPosition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.SetPosition" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the local coordinate system of the sphere.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A3</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.SetRadius">
<code class="descname">SetRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.SetRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns R the radius of the Sphere. Warnings : It is not forbidden to create a sphere with null radius. Raises ConstructionError if R &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>R</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a sphere with the transformation T from class Trsf.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Sphere" title="OCC.gp.gp_Sphere">gp_Sphere</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a sphere in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Sphere" title="OCC.gp.gp_Sphere">gp_Sphere</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates a sphere from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Sphere" title="OCC.gp.gp_Sphere">gp_Sphere</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.UReverse">
<code class="descname">UReverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.UReverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the U parametrization of the sphere reversing the YAxis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.VReverse">
<code class="descname">VReverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.VReverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the V parametrization of the sphere reversing the ZAxis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.Volume">
<code class="descname">Volume</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.Volume" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the volume of the sphere</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.XAxis">
<code class="descname">XAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.XAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the axis X of the sphere.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Sphere.YAxis">
<code class="descname">YAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Sphere.YAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the axis Y of the sphere.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Sphere.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Sphere.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Torus">
<em class="property">class </em><code class="descname">gp_Torus</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>creates an indefinite Torus.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>a torus centered on the origin of coordinate system A3, with major radius MajorRadius and minor radius MinorRadius, and with the reference plane defined by the origin, the &#8216;X Direction&#8217; and the &#8216;Y Direction&#8217; of A3. Warnings : It is not forbidden to create a torus with MajorRadius = MinorRadius = 0.0 Raises ConstructionError if MinorRadius &lt; 0.0 or if MajorRadius &lt; 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A3</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </li>
<li><strong>MajorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>MinorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Torus.Area">
<code class="descname">Area</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Area" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the area of the torus.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.Axis">
<code class="descname">Axis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Axis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the symmetry axis of the torus.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.Direct">
<code class="descname">Direct</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Direct" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns true if the Ax3, the local coordinate system of this torus, is right handed.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.Location">
<code class="descname">Location</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Location" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the Torus&#8217;s location.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.MajorRadius">
<code class="descname">MajorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.MajorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the major radius of the torus.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.MinorRadius">
<code class="descname">MinorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.MinorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the minor radius of the torus.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a torus with respect to the point P which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Torus" title="OCC.gp.gp_Torus">gp_Torus</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a torus with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Torus" title="OCC.gp.gp_Torus">gp_Torus</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a torus with respect to a plane. The axis placement A2 locates the plane of the of the symmetry : (Location, XDirection, YDirection).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Torus" title="OCC.gp.gp_Torus">gp_Torus</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.Position">
<code class="descname">Position</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Position" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the local coordinates system of the torus.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3">gp_Ax3</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates a torus. A1 is the axis of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Torus" title="OCC.gp.gp_Torus">gp_Torus</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a torus. S is the scaling value. The absolute value of S is used to scale the torus</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Torus" title="OCC.gp.gp_Torus">gp_Torus</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.SetAxis">
<code class="descname">SetAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.SetAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this torus, by redefining its local coordinate system so that: - its origin and &#8216;main Direction&#8217; become those of the axis A1 (the &#8216;X Direction&#8217; and &#8216;Y Direction&#8217; are then recomputed). Raises ConstructionError if the direction of A1 is parallel to the &#8216;XDirection&#8217; of the coordinate system of the toroidal surface.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.SetLocation">
<code class="descname">SetLocation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.SetLocation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the location of the torus.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Loc</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.SetMajorRadius">
<code class="descname">SetMajorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.SetMajorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns value to the major radius of this torus. Raises ConstructionError if MajorRadius - MinorRadius &lt;= Resolution()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>MajorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.SetMinorRadius">
<code class="descname">SetMinorRadius</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.SetMinorRadius" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns value to the minor radius of this torus. Raises ConstructionError if MinorRadius &lt; 0.0 or if MajorRadius - MinorRadius &lt;= Resolution from gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>MinorRadius</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.SetPosition">
<code class="descname">SetPosition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.SetPosition" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the local coordinate system of the surface.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A3</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a torus with the transformation T from class Trsf.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Torus" title="OCC.gp.gp_Torus">gp_Torus</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.Translate">
<code class="descname">Translate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Translate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.Translated">
<code class="descname">Translated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Translated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Translates a torus in the direction of the vector V. The magnitude of the translation is the vector&#8217;s magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Torus" title="OCC.gp.gp_Torus">gp_Torus</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Translates a torus from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Torus" title="OCC.gp.gp_Torus">gp_Torus</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.UReverse">
<code class="descname">UReverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.UReverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the U parametrization of the torus reversing the YAxis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.VReverse">
<code class="descname">VReverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.VReverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the V parametrization of the torus reversing the ZAxis.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.Volume">
<code class="descname">Volume</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.Volume" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the volume of the torus.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.XAxis">
<code class="descname">XAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.XAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the axis X of the torus.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Torus.YAxis">
<code class="descname">YAxis</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Torus.YAxis" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the axis Y of the torus.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1">gp_Ax1</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Torus.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Torus.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Trsf">
<em class="property">class </em><code class="descname">gp_Trsf</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Returns the identity transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a 3D transformation from the 2D transformation T. The resulting transformation has a homogeneous vectorial part, V3, and a translation part, T3, built from T: a11 a12 0 a13 V3 = a21 a22 0 T3 = a23 0 0 1. 0 It also has the same scale factor as T. This guarantees (by projection) that the transformation which would be performed by T in a plane (2D space) is performed by the resulting transformation in the xOy plane of the 3D space, (i.e. in the plane defined by the origin (0., 0., 0.) and the vectors DX (1., 0., 0.), and DY (0., 1., 0.)). The scale factor is applied to the entire space.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Trsf.Form">
<code class="descname">Form</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.Form" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the nature of the transformation. It can be: an identity transformation, a rotation, a translation, a mirror transformation (relative to a point, an axis or a plane), a scaling transformation, or a compound transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">gp_TrsfForm</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.GetRotation">
<code class="descname">GetRotation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.GetRotation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the boolean True if there is non-zero rotation. In the presence of rotation, the output parameters store the axis and the angle of rotation. The method always returns positive value &#8216;theAngle&#8217;, i.e., 0. &lt; theAngle &lt;= PI. Note that this rotation is defined only by the vectorial part of the transformation; generally you would need to check also the translational part to obtain the axis (gp_Ax1) of rotation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theAxis</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>theAngle</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Returns quaternion representing rotational part of the transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion">gp_Quaternion</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.HVectorialPart">
<code class="descname">HVectorialPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.HVectorialPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the homogeneous vectorial part of the transformation. It is a 3*3 matrix which doesn&#8217;t include the scale factor. In other words, the vectorial part of this transformation is equal to its homogeneous vectorial part, multiplied by the scale factor. The coefficients of this matrix must be multiplied by the scale factor to obtain the coefficients of the transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat">gp_Mat</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.Invert">
<code class="descname">Invert</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.Invert" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.Inverted">
<code class="descname">Inverted</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.Inverted" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the reverse transformation Raises an exception if the matrix of the transformation is not inversible, it means that the scale factor is lower or equal to Resolution from package gp. Computes the transformation composed with T and &lt;self&gt;. In a C++ implementation you can also write Tcomposed = &lt;self&gt; * T. Example : Trsf T1, T2, Tcomp; ............... Tcomp = T2.Multiplied(T1); // or (Tcomp = T2 * T1) Pnt P1(10.,3.,4.); Pnt P2 = P1.Transformed(Tcomp); //using Tcomp Pnt P3 = P1.Transformed(T1); //using T1 then T2 P3.Transform(T2); // P3 = P2 !!!</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf">gp_Trsf</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.IsNegative">
<code class="descname">IsNegative</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.IsNegative" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if the determinant of the vectorial part of this transformation is negative.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.Multiplied">
<code class="descname">Multiplied</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.Multiplied" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf">gp_Trsf</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.Multiply">
<code class="descname">Multiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.Multiply" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the transformation composed with &lt;self&gt; and T. &lt;self&gt; = &lt;self&gt; * T</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.Power">
<code class="descname">Power</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.Power" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>N</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.Powered">
<code class="descname">Powered</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.Powered" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the following composition of transformations &lt;self&gt; * &lt;self&gt; * .......* &lt;self&gt;, N time. if N = 0 &lt;self&gt; = Identity if N &lt; 0 &lt;self&gt; = &lt;self&gt;.Inverse() <em>...........</em> &lt;self&gt;.Inverse(). //! Raises if N &lt; 0 and if the matrix of the transformation not inversible.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>N</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf">gp_Trsf</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.PreMultiply">
<code class="descname">PreMultiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.PreMultiply" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the transformation composed with &lt;self&gt; and T. &lt;self&gt; = T * &lt;self&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.ScaleFactor">
<code class="descname">ScaleFactor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.ScaleFactor" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the scale factor.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.SetDisplacement">
<code class="descname">SetDisplacement</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.SetDisplacement" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this transformation so that it transforms the coordinate system defined by FromSystem1 into the one defined by ToSystem2. After this modification, this transformation transforms: - the origin of FromSystem1 into the origin of ToSystem2, - the &#8216;X Direction&#8217; of FromSystem1 into the &#8216;X Direction&#8217; of ToSystem2, - the &#8216;Y Direction&#8217; of FromSystem1 into the &#8216;Y Direction&#8217; of ToSystem2, and - the &#8216;main Direction&#8217; of FromSystem1 into the &#8216;main Direction&#8217; of ToSystem2. Warning When you know the coordinates of a point in one coordinate system and you want to express these coordinates in another one, do not use the transformation resulting from this function. Use the transformation that results from SetTransformation instead. SetDisplacement and SetTransformation create related transformations: the vectorial part of one is the inverse of the vectorial part of the other.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>FromSystem1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </li>
<li><strong>ToSystem2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.SetMirror">
<code class="descname">SetMirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.SetMirror" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Makes the transformation into a symmetrical transformation. P is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Makes the transformation into a symmetrical transformation. A1 is the center of the axial symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Makes the transformation into a symmetrical transformation. A2 is the center of the planar symmetry and defines the plane of symmetry by its origin, &#8216;X Direction&#8217; and &#8216;Y Direction&#8217;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.SetRotation">
<code class="descname">SetRotation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.SetRotation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the transformation into a rotation. A1 is the rotation axis and Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Changes the transformation into a rotation defined by quaternion. Note that rotation is performed around origin, i.e. no translation is involved.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>R</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.SetScale">
<code class="descname">SetScale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.SetScale" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the transformation into a scale. P is the center of the scale and S is the scaling value. Raises ConstructionError If &lt;S&gt; is null.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.SetScaleFactor">
<code class="descname">SetScaleFactor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.SetScaleFactor" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies the scale factor. Raises ConstructionError If S is null.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.SetTransformation">
<code class="descname">SetTransformation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.SetTransformation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies this transformation so that it transforms the coordinates of any point, (x, y, z), relative to a source coordinate system into the coordinates (x&#8217;, y&#8217;, z&#8217;) which are relative to a target coordinate system, but which represent the same point The transformation is from the coordinate system &#8216;FromSystem1&#8217; to the coordinate system &#8216;ToSystem2&#8217;. Example : In a C++ implementation : Real x1, y1, z1; // are the coordinates of a point in the // local system FromSystem1 Real x2, y2, z2; // are the coordinates of a point in the // local system ToSystem2 gp_Pnt P1 (x1, y1, z1) Trsf T; T.SetTransformation (FromSystem1, ToSystem2); gp_Pnt P2 = P1.Transformed (T); P2.Coord (x2, y2, z2);</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>FromSystem1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </li>
<li><strong>ToSystem2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Modifies this transformation so that it transforms the coordinates of any point, (x, y, z), relative to a source coordinate system into the coordinates (x&#8217;, y&#8217;, z&#8217;) which are relative to a target coordinate system, but which represent the same point The transformation is from the default coordinate system {P(0.,0.,0.), VX (1.,0.,0.), VY (0.,1.,0.), VZ (0., 0. ,1.) } to the local coordinate system defined with the Ax3 ToSystem. Use in the same way as the previous method. FromSystem1 is defaulted to the absolute coordinate system.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ToSystem</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax3" title="OCC.gp.gp_Ax3"><em>gp_Ax3</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Sets transformation by directly specified rotation and translation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>R</strong> (<a class="reference internal" href="#OCC.gp.gp_Quaternion" title="OCC.gp.gp_Quaternion"><em>gp_Quaternion</em></a>) &#8211; </li>
<li><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.SetTranslation">
<code class="descname">SetTranslation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.SetTranslation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the transformation into a translation. V is the vector of the translation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Makes the transformation into a translation where the translation vector is the vector (P1, P2) defined from point P1 to point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.SetTranslationPart">
<code class="descname">SetTranslationPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.SetTranslationPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Replaces the translation vector with the vector V.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.SetValues">
<code class="descname">SetValues</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.SetValues" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets the coefficients of the transformation. The transformation of the point x,y,z is the point x&#8217;,y&#8217;,z&#8217; with : //! x&#8217; = a11 x + a12 y + a13 z + a14 y&#8217; = a21 x + a22 y + a23 z + a24 z&#8217; = a31 x + a32 y + a33 z + a34 //! The method Value(i,j) will return aij. Raises ConstructionError if the determinant of the aij is null. The matrix is orthogonalized before future using.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>a11</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a12</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a13</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a14</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a21</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a22</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a23</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a24</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a31</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a32</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a33</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a34</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.Transforms">
<code class="descname">Transforms</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.Transforms" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>X</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Y</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Z</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Transformation of a triplet XYZ with a Trsf</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.TranslationPart">
<code class="descname">TranslationPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.TranslationPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the translation part of the transformation&#8217;s matrix</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.Value">
<code class="descname">Value</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.Value" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coefficients of the transformation&#8217;s matrix. It is a 3 rows * 4 columns matrix. This coefficient includes the scale factor. Raises OutOfRanged if Row &lt; 1 or Row &gt; 3 or Col &lt; 1 or Col &gt; 4</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf.VectorialPart">
<code class="descname">VectorialPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf.VectorialPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the vectorial part of the transformation. It is a 3*3 matrix which includes the scale factor.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat">gp_Mat</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Trsf.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Trsf.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Trsf2d">
<em class="property">class </em><code class="descname">gp_Trsf2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Returns identity transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a 2d transformation in the XY plane from a 3d transformation .</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.Form">
<code class="descname">Form</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.Form" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the nature of the transformation. It can be an identity transformation, a rotation, a translation, a mirror (relative to a point or an axis), a scaling transformation, or a compound transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">gp_TrsfForm</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.HVectorialPart">
<code class="descname">HVectorialPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.HVectorialPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the homogeneous vectorial part of the transformation. It is a 2*2 matrix which doesn&#8217;t include the scale factor. The coefficients of this matrix must be multiplied by the scale factor to obtain the coefficients of the transformation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d">gp_Mat2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.Invert">
<code class="descname">Invert</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.Invert" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.Inverted">
<code class="descname">Inverted</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.Inverted" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the reverse transformation. Raises an exception if the matrix of the transformation is not inversible, it means that the scale factor is lower or equal to Resolution from package gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d">gp_Trsf2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.IsNegative">
<code class="descname">IsNegative</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.IsNegative" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if the determinant of the vectorial part of this transformation is negative..</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.Multiplied">
<code class="descname">Multiplied</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.Multiplied" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d">gp_Trsf2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.Multiply">
<code class="descname">Multiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.Multiply" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the transformation composed from &lt;self&gt; and T. &lt;self&gt; = &lt;self&gt; * T</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.Power">
<code class="descname">Power</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.Power" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>N</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.Powered">
<code class="descname">Powered</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.Powered" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the following composition of transformations &lt;self&gt; * &lt;self&gt; * .......* &lt;self&gt;, N time. if N = 0 &lt;self&gt; = Identity if N &lt; 0 &lt;self&gt; = &lt;self&gt;.Inverse() <em>...........</em> &lt;self&gt;.Inverse(). //! Raises if N &lt; 0 and if the matrix of the transformation not inversible.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>N</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d">gp_Trsf2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.PreMultiply">
<code class="descname">PreMultiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.PreMultiply" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the transformation composed from &lt;self&gt; and T. &lt;self&gt; = T * &lt;self&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.RotationPart">
<code class="descname">RotationPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.RotationPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the angle corresponding to the rotational component of the transformation matrix (operation opposite to SetRotation()).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.ScaleFactor">
<code class="descname">ScaleFactor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.ScaleFactor" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the scale factor.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.SetMirror">
<code class="descname">SetMirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.SetMirror" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the transformation into a symmetrical transformation. P is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Changes the transformation into a symmetrical transformation. A is the center of the axial symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.SetRotation">
<code class="descname">SetRotation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.SetRotation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the transformation into a rotation. P is the rotation&#8217;s center and Ang is the angular value of the rotation in radian.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.SetScale">
<code class="descname">SetScale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.SetScale" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the transformation into a scale. P is the center of the scale and S is the scaling value.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.SetScaleFactor">
<code class="descname">SetScaleFactor</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.SetScaleFactor" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Modifies the scale factor.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.SetTransformation">
<code class="descname">SetTransformation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.SetTransformation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes a transformation allowing passage from the coordinate system &#8216;FromSystem1&#8217; to the coordinate system &#8216;ToSystem2&#8217;.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>FromSystem1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
<li><strong>ToSystem2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Changes the transformation allowing passage from the basic coordinate system {P(0.,0.,0.), VX (1.,0.,0.), VY (0.,1.,0.)} to the local coordinate system defined with the Ax2d ToSystem.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>ToSystem</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.SetTranslation">
<code class="descname">SetTranslation</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.SetTranslation" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the transformation into a translation. V is the vector of the translation.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Makes the transformation into a translation from the point P1 to the point P2.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.SetTranslationPart">
<code class="descname">SetTranslationPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.SetTranslationPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Replaces the translation vector with V.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.SetValues">
<code class="descname">SetValues</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.SetValues" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets the coefficients of the transformation. The transformation of the point x,y is the point x&#8217;,y&#8217; with : //! x&#8217; = a11 x + a12 y + a13 y&#8217; = a21 x + a22 y + a23 //! The method Value(i,j) will return aij. Raises ConstructionError if the determinant of the aij is null. If the matrix as not a uniform scale it will be orthogonalized before future using.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>a11</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a12</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a13</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a21</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a22</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>a23</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.Transforms">
<code class="descname">Transforms</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.Transforms" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>X</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Y</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Transforms a doublet XY with a Trsf2d</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.TranslationPart">
<code class="descname">TranslationPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.TranslationPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the translation part of the transformation&#8217;s matrix</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.Value">
<code class="descname">Value</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.Value" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coefficients of the transformation&#8217;s matrix. It is a 2 rows * 3 columns matrix. Raises OutOfRange if Row &lt; 1 or Row &gt; 2 or Col &lt; 1 or Col &gt; 3</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Row</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Col</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Trsf2d.VectorialPart">
<code class="descname">VectorialPart</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Trsf2d.VectorialPart" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the vectorial part of the transformation. It is a 2*2 matrix which includes the scale factor.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d">gp_Mat2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Trsf2d.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Trsf2d.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Vec">
<em class="property">class </em><code class="descname">gp_Vec</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates a zero vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a unitary vector from a direction V.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir" title="OCC.gp.gp_Dir"><em>gp_Dir</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a vector with a triplet of coordinates.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a point with its three cartesian coordinates.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Yv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Zv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a vector from two points. The length of the vector is the distance between P1 and P2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt"><em>gp_Pnt</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Vec.Add">
<code class="descname">Add</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Add" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Added">
<code class="descname">Added</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Added" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Adds two vectors Subtracts two vectors</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec">gp_Vec</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Angle">
<code class="descname">Angle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Angle" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the angular value between &lt;self&gt; and &lt;Other&gt; Returns the angle value between 0 and PI in radian. Raises VectorWithNullMagnitude if &lt;self&gt;.Magnitude() &lt;= Resolution from gp or Other.Magnitude() &lt;= Resolution because the angular value is indefinite if one of the vectors has a null magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.AngleWithRef">
<code class="descname">AngleWithRef</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.AngleWithRef" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the angle, in radians, between this vector and vector Other. The result is a value between -Pi and Pi. For this, VRef defines the positive sense of rotation: the angular value is positive, if the cross product this ^ Other has the same orientation as VRef relative to the plane defined by the vectors this and Other. Otherwise, the angular value is negative. Exceptions gp_VectorWithNullMagnitude if the magnitude of this vector, the vector Other, or the vector VRef is less than or equal to gp::Resolution(). Standard_DomainError if this vector, the vector Other, and the vector VRef are coplanar, unless this vector and the vector Other are parallel.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>VRef</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Coord">
<code class="descname">Coord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Coord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coordinate of range Index : Index = 1 =&gt; X is returned Index = 2 =&gt; Y is returned Index = 3 =&gt; Z is returned Raised if Index != {1, 2, 3}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>For this vector returns its three coordinates Xv, Yv, and Zvinline</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xv</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Yv</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Zv</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Cross">
<code class="descname">Cross</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Cross" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.CrossCross">
<code class="descname">CrossCross</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.CrossCross" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V1</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>V2</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.CrossCrossed">
<code class="descname">CrossCrossed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.CrossCrossed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the triple vector product. &lt;self&gt; ^ (V1 ^ V2)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V1</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>V2</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec">gp_Vec</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.CrossMagnitude">
<code class="descname">CrossMagnitude</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.CrossMagnitude" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the magnitude of the cross product between &lt;self&gt; and Right. Returns || &lt;self&gt; ^ Right ||</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.CrossSquareMagnitude">
<code class="descname">CrossSquareMagnitude</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.CrossSquareMagnitude" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the square magnitude of the cross product between &lt;self&gt; and Right. Returns || &lt;self&gt; ^ Right ||**2 Computes the triple vector product. &lt;self&gt; ^ (V1 ^ V2)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Crossed">
<code class="descname">Crossed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Crossed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>computes the cross product between two vectors</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec">gp_Vec</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Divide">
<code class="descname">Divide</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Divide" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Divided">
<code class="descname">Divided</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Divided" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Divides a vector by a scalar computes the cross product between two vectors</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec">gp_Vec</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Dot">
<code class="descname">Dot</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Dot" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>computes the scalar product</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.DotCross">
<code class="descname">DotCross</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.DotCross" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the triple scalar product &lt;self&gt; * (V1 ^ V2). normalizes a vector Raises an exception if the magnitude of the vector is lower or equal to Resolution from gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V1</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>V2</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.IsEqual">
<code class="descname">IsEqual</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.IsEqual" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the two vectors have the same magnitude value and the same direction. The precision values are LinearTolerance for the magnitude and AngularTolerance for the direction.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.IsNormal">
<code class="descname">IsNormal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.IsNormal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if abs(&lt;self&gt;.Angle(Other) - PI/2.) &lt;= AngularTolerance Raises VectorWithNullMagnitude if &lt;self&gt;.Magnitude() &lt;= Resolution or Other.Magnitude() &lt;= Resolution from gp</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.IsOpposite">
<code class="descname">IsOpposite</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.IsOpposite" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if PI - &lt;self&gt;.Angle(Other) &lt;= AngularTolerance Raises VectorWithNullMagnitude if &lt;self&gt;.Magnitude() &lt;= Resolution or Other.Magnitude() &lt;= Resolution from gp</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.IsParallel">
<code class="descname">IsParallel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.IsParallel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if Angle(&lt;self&gt;, Other) &lt;= AngularTolerance or PI - Angle(&lt;self&gt;, Other) &lt;= AngularTolerance This definition means that two parallel vectors cannot define a plane but two vectors with opposite directions are considered as parallel. Raises VectorWithNullMagnitude if &lt;self&gt;.Magnitude() &lt;= Resolution or Other.Magnitude() &lt;= Resolution from gp</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Magnitude">
<code class="descname">Magnitude</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Magnitude" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the magnitude of this vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a vector with respect to the vector V which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec">gp_Vec</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a vector with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec">gp_Vec</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a vector with respect to a plane. The axis placement A2 locates the plane of the symmetry : (Location, XDirection, YDirection).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A2</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2"><em>gp_Ax2</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec">gp_Vec</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Multiplied">
<code class="descname">Multiplied</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Multiplied" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Multiplies a vector by a scalar</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec">gp_Vec</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Multiply">
<code class="descname">Multiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Multiply" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Normalize">
<code class="descname">Normalize</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Normalize" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Normalized">
<code class="descname">Normalized</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Normalized" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>normalizes a vector Raises an exception if the magnitude of the vector is lower or equal to Resolution from gp. Reverses the direction of a vector</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec">gp_Vec</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Reverse">
<code class="descname">Reverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Reverse" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Reversed">
<code class="descname">Reversed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Reversed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the direction of a vector</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec">gp_Vec</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates a vector. A1 is the axis of the rotation. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax1" title="OCC.gp.gp_Ax1"><em>gp_Ax1</em></a>) &#8211; </li>
<li><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec">gp_Vec</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a vector. S is the scaling value. Transforms a vector with the transformation T.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec">gp_Vec</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.SetCoord">
<code class="descname">SetCoord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.SetCoord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the coordinate of range Index Index = 1 =&gt; X is modified Index = 2 =&gt; Y is modified Index = 3 =&gt; Z is modified Raised if Index != {1, 2, 3}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Xi</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>For this vector, assigns - the values Xv, Yv and Zv to its three coordinates.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Yv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Zv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.SetLinearForm">
<code class="descname">SetLinearForm</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.SetLinearForm" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>&lt;self&gt; is setted to the following linear form : A1 * V1 + A2 * V2 + A3 * V3 + V4</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V1</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V2</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>A3</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V3</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>V4</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt; is setted to the following linear form : A1 * V1 + A2 * V2 + A3 * V3</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V1</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V2</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>A3</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V3</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt; is setted to the following linear form : A1 * V1 + A2 * V2 + V3</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V1</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V2</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>V3</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt; is setted to the following linear form : A1 * V1 + A2 * V2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V1</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V2</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt; is setted to the following linear form : A1 * V1 + V2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V1</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>V2</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt; is setted to the following linear form : V1 + V2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V1</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
<li><strong>V2</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.SetX">
<code class="descname">SetX</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.SetX" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the X coordinate of this vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>X</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.SetXYZ">
<code class="descname">SetXYZ</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.SetXYZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the three coordinates of Coord to this vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.SetY">
<code class="descname">SetY</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.SetY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the X coordinate of this vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Y</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.SetZ">
<code class="descname">SetZ</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.SetZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the X coordinate of this vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Z</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.SquareMagnitude">
<code class="descname">SquareMagnitude</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.SquareMagnitude" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the square magnitude of this vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Subtract">
<code class="descname">Subtract</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Subtract" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Subtracted">
<code class="descname">Subtracted</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Subtracted" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Subtracts two vectors</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec"><em>gp_Vec</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec">gp_Vec</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a vector with the transformation T.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf" title="OCC.gp.gp_Trsf"><em>gp_Trsf</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec" title="OCC.gp.gp_Vec">gp_Vec</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.X">
<code class="descname">X</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.X" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this vector, returns its X coordinate.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.XYZ">
<code class="descname">XYZ</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.XYZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this vector, returns - its three coordinates as a number triple</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Y">
<code class="descname">Y</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Y" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this vector, returns its Y coordinate.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec.Z">
<code class="descname">Z</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec.Z" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this vector, returns its Z coordinate.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Vec.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Vec.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_Vec2d">
<em class="property">class </em><code class="descname">gp_Vec2d</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates a zero vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a unitary vector from a direction V.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Dir2d" title="OCC.gp.gp_Dir2d"><em>gp_Dir2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a vector with a doublet of coordinates.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a point with its two cartesian coordinates.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Yv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Creates a vector from two points. The length of the vector is the distance between P1 and P2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>P1</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
<li><strong>P2</strong> (<a class="reference internal" href="#OCC.gp.gp_Pnt2d" title="OCC.gp.gp_Pnt2d"><em>gp_Pnt2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Add">
<code class="descname">Add</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Add" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Added">
<code class="descname">Added</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Added" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Adds two vectors</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d">gp_Vec2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Angle">
<code class="descname">Angle</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Angle" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the angular value between &lt;self&gt; and &lt;Other&gt; returns the angle value between -PI and PI in radian. The orientation is from &lt;self&gt; to Other. The positive sense is the trigonometric sense. Raises VectorWithNullMagnitude if &lt;self&gt;.Magnitude() &lt;= Resolution from gp or Other.Magnitude() &lt;= Resolution because the angular value is indefinite if one of the vectors has a null magnitude.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Coord">
<code class="descname">Coord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Coord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the coordinate of range Index : Index = 1 =&gt; X is returned Index = 2 =&gt; Y is returned Raised if Index != {1, 2}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>For this vector, returns its two coordinates Xv and Yv</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xv</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Yv</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.CrossMagnitude">
<code class="descname">CrossMagnitude</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.CrossMagnitude" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the magnitude of the cross product between &lt;self&gt; and Right. Returns || &lt;self&gt; ^ Right ||</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.CrossSquareMagnitude">
<code class="descname">CrossSquareMagnitude</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.CrossSquareMagnitude" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the square magnitude of the cross product between &lt;self&gt; and Right. Returns || &lt;self&gt; ^ Right ||**2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Crossed">
<code class="descname">Crossed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Crossed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the crossing product between two vectors</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Divide">
<code class="descname">Divide</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Divide" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Divided">
<code class="descname">Divided</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Divided" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>divides a vector by a scalar</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d">gp_Vec2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Dot">
<code class="descname">Dot</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Dot" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the scalar product</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.GetNormal">
<code class="descname">GetNormal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.GetNormal" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d">gp_Vec2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.IsEqual">
<code class="descname">IsEqual</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.IsEqual" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if the two vectors have the same magnitude value and the same direction. The precision values are LinearTolerance for the magnitude and AngularTolerance for the direction.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>LinearTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.IsNormal">
<code class="descname">IsNormal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.IsNormal" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if abs(Abs(&lt;self&gt;.Angle(Other)) - PI/2.) &lt;= AngularTolerance Raises VectorWithNullMagnitude if &lt;self&gt;.Magnitude() &lt;= Resolution or Other.Magnitude() &lt;= Resolution from gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.IsOpposite">
<code class="descname">IsOpposite</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.IsOpposite" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if PI - Abs(&lt;self&gt;.Angle(Other)) &lt;= AngularTolerance Raises VectorWithNullMagnitude if &lt;self&gt;.Magnitude() &lt;= Resolution or Other.Magnitude() &lt;= Resolution from gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.IsParallel">
<code class="descname">IsParallel</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.IsParallel" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if Abs(Angle(&lt;self&gt;, Other)) &lt;= AngularTolerance or PI - Abs(Angle(&lt;self&gt;, Other)) &lt;= AngularTolerance Two vectors with opposite directions are considered as parallel. Raises VectorWithNullMagnitude if &lt;self&gt;.Magnitude() &lt;= Resolution or Other.Magnitude() &lt;= Resolution from gp</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>AngularTolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Magnitude">
<code class="descname">Magnitude</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Magnitude" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the magnitude of this vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Mirror">
<code class="descname">Mirror</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Mirror" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Mirrored">
<code class="descname">Mirrored</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Mirrored" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Performs the symmetrical transformation of a vector with respect to the vector V which is the center of the symmetry. //! Performs the symmetrical transformation of a vector with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>V</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d">gp_Vec2d</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Performs the symmetrical transformation of a vector with respect to an axis placement which is the axis of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>A1</strong> (<a class="reference internal" href="#OCC.gp.gp_Ax2d" title="OCC.gp.gp_Ax2d"><em>gp_Ax2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d">gp_Vec2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Multiplied">
<code class="descname">Multiplied</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Multiplied" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Normalizes a vector Raises an exception if the magnitude of the vector is lower or equal to Resolution from package gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d">gp_Vec2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Multiply">
<code class="descname">Multiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Multiply" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Normalize">
<code class="descname">Normalize</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Normalize" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Normalized">
<code class="descname">Normalized</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Normalized" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Normalizes a vector Raises an exception if the magnitude of the vector is lower or equal to Resolution from package gp. Reverses the direction of a vector</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d">gp_Vec2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Reverse">
<code class="descname">Reverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Reverse" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Reversed">
<code class="descname">Reversed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Reversed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Reverses the direction of a vector Subtracts two vectors</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d">gp_Vec2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Rotate">
<code class="descname">Rotate</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Rotate" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Rotated">
<code class="descname">Rotated</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Rotated" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Rotates a vector. Ang is the angular value of the rotation in radians.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Ang</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d">gp_Vec2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Scale">
<code class="descname">Scale</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Scale" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Scaled">
<code class="descname">Scaled</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Scaled" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Scales a vector. S is the scaling value.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>S</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d">gp_Vec2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.SetCoord">
<code class="descname">SetCoord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.SetCoord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Changes the coordinate of range Index Index = 1 =&gt; X is modified Index = 2 =&gt; Y is modified Raises OutOfRange if Index != {1, 2}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Xi</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>For this vector, assigns the values Xv and Yv to its two coordinates</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Xv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Yv</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.SetLinearForm">
<code class="descname">SetLinearForm</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.SetLinearForm" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>&lt;self&gt; is setted to the following linear form : A1 * V1 + A2 * V2 + V3</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V1</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V2</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>V3</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt; is setted to the following linear form : A1 * V1 + A2 * V2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V1</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V2</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt; is setted to the following linear form : A1 * V1 + V2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>V1</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>V2</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt; is setted to the following linear form : Left + Right //! Performs the symmetrical transformation of a vector with respect to the vector V which is the center of the symmetry.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Left</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
<li><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.SetX">
<code class="descname">SetX</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.SetX" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the X coordinate of this vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>X</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.SetXY">
<code class="descname">SetXY</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.SetXY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the two coordinates of Coord to this vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Coord</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.SetY">
<code class="descname">SetY</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.SetY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the Y coordinate of this vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Y</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.SquareMagnitude">
<code class="descname">SquareMagnitude</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.SquareMagnitude" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the square magnitude of this vector.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Subtract">
<code class="descname">Subtract</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Subtract" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Subtracted">
<code class="descname">Subtracted</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Subtracted" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Subtracts two vectors</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d"><em>gp_Vec2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d">gp_Vec2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Transform">
<code class="descname">Transform</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Transform" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Transformed">
<code class="descname">Transformed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Transformed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Transforms a vector with a Trsf from gp.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>T</strong> (<a class="reference internal" href="#OCC.gp.gp_Trsf2d" title="OCC.gp.gp_Trsf2d"><em>gp_Trsf2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Vec2d" title="OCC.gp.gp_Vec2d">gp_Vec2d</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.X">
<code class="descname">X</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.X" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this vector, returns its X coordinate.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.XY">
<code class="descname">XY</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.XY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this vector, returns its two coordinates as a number pair</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_Vec2d.Y">
<code class="descname">Y</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_Vec2d.Y" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this vector, returns its Y coordinate.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_Vec2d.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_Vec2d.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_XOY">
<code class="descname">gp_XOY</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XOY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies a coordinate system where its origin is Origin, and its &#8216;main Direction&#8217; and &#8216;X Direction&#8217; coordinates Z = 1.0, X = Y =0.0 and X direction coordinates X = 1.0, Y = Z = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_XY">
<em class="property">class </em><code class="descname">gp_XY</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates XY object with zero coordinates (0,0).</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>a number pair defined by the XY coordinates</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>X</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Y</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_XY.Add">
<code class="descname">Add</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Add" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the sum of this number pair and number pair Other &lt;self&gt;.X() = &lt;self&gt;.X() + Other.X() &lt;self&gt;.Y() = &lt;self&gt;.Y() + Other.Y()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Added">
<code class="descname">Added</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Added" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the sum of this number pair and number pair Other new.X() = &lt;self&gt;.X() + Other.X() new.Y() = &lt;self&gt;.Y() + Other.Y()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.ChangeCoord">
<code class="descname">ChangeCoord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.ChangeCoord" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theIndex</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Coord">
<code class="descname">Coord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Coord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the coordinate of range Index : Index = 1 =&gt; X is returned Index = 2 =&gt; Y is returned Raises OutOfRange if Index != {1, 2}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>For this number pair, returns its coordinates X and Y.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>X</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Y</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.CrossMagnitude">
<code class="descname">CrossMagnitude</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.CrossMagnitude" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>computes the magnitude of the cross product between &lt;self&gt; and Right. Returns || &lt;self&gt; ^ Right ||</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.CrossSquareMagnitude">
<code class="descname">CrossSquareMagnitude</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.CrossSquareMagnitude" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>computes the square magnitude of the cross product between &lt;self&gt; and Right. Returns || &lt;self&gt; ^ Right ||**2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Crossed">
<code class="descname">Crossed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Crossed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Real D = &lt;self&gt;.X() * Other.Y() - &lt;self&gt;.Y() * Other.X()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Divide">
<code class="descname">Divide</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Divide" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>divides &lt;self&gt; by a real.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Divided">
<code class="descname">Divided</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Divided" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Divides &lt;self&gt; by a real.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Dot">
<code class="descname">Dot</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Dot" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the scalar product between &lt;self&gt; and Other</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.IsEqual">
<code class="descname">IsEqual</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.IsEqual" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns true if the coordinates of this number pair are equal to the respective coordinates of the number pair Other, within the specified tolerance Tolerance. I.e.: abs(&lt;self&gt;.X() - Other.X()) &lt;= Tolerance and abs(&lt;self&gt;.Y() - Other.Y()) &lt;= Tolerance and computations</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
<li><strong>Tolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Modulus">
<code class="descname">Modulus</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Modulus" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes Sqrt (X*X + Y*Y) where X and Y are the two coordinates of this number pair.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Multiplied">
<code class="descname">Multiplied</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Multiplied" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>New.X() = &lt;self&gt;.X() * Scalar; New.Y() = &lt;self&gt;.Y() * Scalar;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>new.X() = &lt;self&gt;.X() * Other.X(); new.Y() = &lt;self&gt;.Y() * Other.Y();</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>New = Matrix * &lt;self&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Matrix</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d"><em>gp_Mat2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Multiply">
<code class="descname">Multiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Multiply" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>&lt;self&gt;.X() = &lt;self&gt;.X() * Scalar; &lt;self&gt;.Y() = &lt;self&gt;.Y() * Scalar;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt;.X() = &lt;self&gt;.X() * Other.X(); &lt;self&gt;.Y() = &lt;self&gt;.Y() * Other.Y();</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt; = Matrix * &lt;self&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Matrix</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat2d" title="OCC.gp.gp_Mat2d"><em>gp_Mat2d</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Normalize">
<code class="descname">Normalize</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Normalize" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>&lt;self&gt;.X() = &lt;self&gt;.X()/ &lt;self&gt;.Modulus() &lt;self&gt;.Y() = &lt;self&gt;.Y()/ &lt;self&gt;.Modulus() Raises ConstructionError if &lt;self&gt;.Modulus() &lt;= Resolution from gp</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Normalized">
<code class="descname">Normalized</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Normalized" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>New.X() = &lt;self&gt;.X()/ &lt;self&gt;.Modulus() New.Y() = &lt;self&gt;.Y()/ &lt;self&gt;.Modulus() Raises ConstructionError if &lt;self&gt;.Modulus() &lt;= Resolution from gp</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Reverse">
<code class="descname">Reverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Reverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>&lt;self&gt;.X() = -&lt;self&gt;.X() &lt;self&gt;.Y() = -&lt;self&gt;.Y()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Reversed">
<code class="descname">Reversed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Reversed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>New.X() = -&lt;self&gt;.X() New.Y() = -&lt;self&gt;.Y()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.SetCoord">
<code class="descname">SetCoord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.SetCoord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>modifies the coordinate of range Index Index = 1 =&gt; X is modified Index = 2 =&gt; Y is modified Raises OutOfRange if Index != {1, 2}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Xi</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>For this number pair, assigns the values X and Y to its coordinates</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>X</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Y</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.SetLinearForm">
<code class="descname">SetLinearForm</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.SetLinearForm" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the following linear combination and assigns the result to this number pair: A1 * XY1 + A2 * XY2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XY1</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XY2</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&#8211; Computes the following linear combination and assigns the result to this number pair: A1 * XY1 + A2 * XY2 + XY3</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XY1</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XY2</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
<li><strong>XY3</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Computes the following linear combination and assigns the result to this number pair: A1 * XY1 + XY2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XY1</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
<li><strong>XY2</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>Computes the following linear combination and assigns the result to this number pair: XY1 + XY2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>XY1</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
<li><strong>XY2</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.SetX">
<code class="descname">SetX</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.SetX" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the X coordinate of this number pair.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>X</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.SetY">
<code class="descname">SetY</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.SetY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the Y coordinate of this number pair.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Y</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.SquareModulus">
<code class="descname">SquareModulus</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.SquareModulus" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes X*X + Y*Y where X and Y are the two coordinates of this number pair.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Subtract">
<code class="descname">Subtract</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Subtract" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>&lt;self&gt;.X() = &lt;self&gt;.X() - Other.X() &lt;self&gt;.Y() = &lt;self&gt;.Y() - Other.Y()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Subtracted">
<code class="descname">Subtracted</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Subtracted" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>new.X() = &lt;self&gt;.X() - Other.X() new.Y() = &lt;self&gt;.Y() - Other.Y()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY"><em>gp_XY</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XY" title="OCC.gp.gp_XY">gp_XY</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.X">
<code class="descname">X</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.X" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the X coordinate of this number pair.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XY.Y">
<code class="descname">Y</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XY.Y" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the Y coordinate of this number pair.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_XY.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_XY.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="class">
<dt id="OCC.gp.gp_XYZ">
<em class="property">class </em><code class="descname">gp_XYZ</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ" title="Permalink to this definition">¶</a></dt>
<dd><p>Bases: <a class="reference external" href="https://docs.python.org/2/library/functions.html#object" title="(in Python v2.7)"><code class="xref py py-class docutils literal"><span class="pre">object</span></code></a></p>
<ul class="simple">
<li>Creates an XYZ object with zero co-ordinates (0,0,0)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>creates an XYZ with given coordinates</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>X</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Y</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Z</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<dl class="method">
<dt id="OCC.gp.gp_XYZ.Add">
<code class="descname">Add</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Add" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>&lt;self&gt;.X() = &lt;self&gt;.X() + Other.X() &lt;self&gt;.Y() = &lt;self&gt;.Y() + Other.Y() &lt;self&gt;.Z() = &lt;self&gt;.Z() + Other.Z()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Added">
<code class="descname">Added</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Added" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>new.X() = &lt;self&gt;.X() + Other.X() new.Y() = &lt;self&gt;.Y() + Other.Y() new.Z() = &lt;self&gt;.Z() + Other.Z()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.ChangeCoord">
<code class="descname">ChangeCoord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.ChangeCoord" title="Permalink to this definition">¶</a></dt>
<dd><table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theIndex</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Coord">
<code class="descname">Coord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Coord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the coordinate of range Index : Index = 1 =&gt; X is returned Index = 2 =&gt; Y is returned Index = 3 =&gt; Z is returned //! Raises OutOfRange if Index != {1, 2, 3}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>X</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Y</strong> (<em>float &amp;</em>) &#8211; </li>
<li><strong>Z</strong> (<em>float &amp;</em>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></p>
</td>
</tr>
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Cross">
<code class="descname">Cross</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Cross" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>&lt;self&gt;.X() = &lt;self&gt;.Y() * Other.Z() - &lt;self&gt;.Z() * Other.Y() &lt;self&gt;.Y() = &lt;self&gt;.Z() * Other.X() - &lt;self&gt;.X() * Other.Z() &lt;self&gt;.Z() = &lt;self&gt;.X() * Other.Y() - &lt;self&gt;.Y() * Other.X()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.CrossCross">
<code class="descname">CrossCross</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.CrossCross" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Triple vector product Computes &lt;self&gt; = &lt;self&gt;.Cross(Coord1.Cross(Coord2))</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Coord1</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>Coord2</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.CrossCrossed">
<code class="descname">CrossCrossed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.CrossCrossed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Triple vector product computes New = &lt;self&gt;.Cross(Coord1.Cross(Coord2))</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Coord1</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>Coord2</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.CrossMagnitude">
<code class="descname">CrossMagnitude</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.CrossMagnitude" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the magnitude of the cross product between &lt;self&gt; and Right. Returns || &lt;self&gt; ^ Right ||</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.CrossSquareMagnitude">
<code class="descname">CrossSquareMagnitude</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.CrossSquareMagnitude" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes the square magnitude of the cross product between &lt;self&gt; and Right. Returns || &lt;self&gt; ^ Right ||**2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Crossed">
<code class="descname">Crossed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Crossed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>new.X() = &lt;self&gt;.Y() * Other.Z() - &lt;self&gt;.Z() * Other.Y() new.Y() = &lt;self&gt;.Z() * Other.X() - &lt;self&gt;.X() * Other.Z() new.Z() = &lt;self&gt;.X() * Other.Y() - &lt;self&gt;.Y() * Other.X()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Divide">
<code class="descname">Divide</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Divide" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>divides &lt;self&gt; by a real.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Divided">
<code class="descname">Divided</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Divided" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>divides &lt;self&gt; by a real.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Dot">
<code class="descname">Dot</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Dot" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>computes the scalar product between &lt;self&gt; and Other</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.DotCross">
<code class="descname">DotCross</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.DotCross" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>computes the triple scalar product</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Coord1</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>Coord2</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.IsEqual">
<code class="descname">IsEqual</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.IsEqual" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns True if he coordinates of this XYZ object are equal to the respective coordinates Other, within the specified tolerance Tolerance. I.e.: abs(&lt;self&gt;.X() - Other.X()) &lt;= Tolerance and abs(&lt;self&gt;.Y() - Other.Y()) &lt;= Tolerance and abs(&lt;self&gt;.Z() - Other.Z()) &lt;= Tolerance.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>Tolerance</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/functions.html#bool" title="(in Python v2.7)">bool</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Modulus">
<code class="descname">Modulus</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Modulus" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>computes Sqrt (X*X + Y*Y + Z*Z) where X, Y and Z are the three coordinates of this XYZ object.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Multiplied">
<code class="descname">Multiplied</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Multiplied" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>New.X() = &lt;self&gt;.X() * Scalar; New.Y() = &lt;self&gt;.Y() * Scalar; New.Z() = &lt;self&gt;.Z() * Scalar;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>new.X() = &lt;self&gt;.X() * Other.X(); new.Y() = &lt;self&gt;.Y() * Other.Y(); new.Z() = &lt;self&gt;.Z() * Other.Z();</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>New = Matrix * &lt;self&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Matrix</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat"><em>gp_Mat</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Multiply">
<code class="descname">Multiply</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Multiply" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>&lt;self&gt;.X() = &lt;self&gt;.X() * Scalar; &lt;self&gt;.Y() = &lt;self&gt;.Y() * Scalar; &lt;self&gt;.Z() = &lt;self&gt;.Z() * Scalar;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Scalar</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt;.X() = &lt;self&gt;.X() * Other.X(); &lt;self&gt;.Y() = &lt;self&gt;.Y() * Other.Y(); &lt;self&gt;.Z() = &lt;self&gt;.Z() * Other.Z();</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Other</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt; = Matrix * &lt;self&gt;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Matrix</strong> (<a class="reference internal" href="#OCC.gp.gp_Mat" title="OCC.gp.gp_Mat"><em>gp_Mat</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Normalize">
<code class="descname">Normalize</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Normalize" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>&lt;self&gt;.X() = &lt;self&gt;.X()/ &lt;self&gt;.Modulus() &lt;self&gt;.Y() = &lt;self&gt;.Y()/ &lt;self&gt;.Modulus() &lt;self&gt;.Z() = &lt;self&gt;.Z()/ &lt;self&gt;.Modulus() Raised if &lt;self&gt;.Modulus() &lt;= Resolution from gp</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Normalized">
<code class="descname">Normalized</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Normalized" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>New.X() = &lt;self&gt;.X()/ &lt;self&gt;.Modulus() New.Y() = &lt;self&gt;.Y()/ &lt;self&gt;.Modulus() New.Z() = &lt;self&gt;.Z()/ &lt;self&gt;.Modulus() Raised if &lt;self&gt;.Modulus() &lt;= Resolution from gp</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Reverse">
<code class="descname">Reverse</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Reverse" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>&lt;self&gt;.X() = -&lt;self&gt;.X() &lt;self&gt;.Y() = -&lt;self&gt;.Y() &lt;self&gt;.Z() = -&lt;self&gt;.Z()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Reversed">
<code class="descname">Reversed</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Reversed" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>New.X() = -&lt;self&gt;.X() New.Y() = -&lt;self&gt;.Y() New.Z() = -&lt;self&gt;.Z()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.SetCoord">
<code class="descname">SetCoord</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.SetCoord" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>For this XYZ object, assigns the values X, Y and Z to its three coordinates</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>X</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Y</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>Z</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>modifies the coordinate of range Index Index = 1 =&gt; X is modified Index = 2 =&gt; Y is modified Index = 3 =&gt; Z is modified Raises OutOfRange if Index != {1, 2, 3}.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>Index</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#int" title="(in Python v2.7)"><em>int</em></a>) &#8211; </li>
<li><strong>Xi</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.SetLinearForm">
<code class="descname">SetLinearForm</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.SetLinearForm" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>&lt;self&gt; is set to the following linear form : A1 * XYZ1 + A2 * XYZ2 + A3 * XYZ3 + XYZ4</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XYZ1</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XYZ2</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>A3</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XYZ3</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>XYZ4</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt; is set to the following linear form : A1 * XYZ1 + A2 * XYZ2 + A3 * XYZ3</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XYZ1</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XYZ2</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>A3</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XYZ3</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt; is set to the following linear form : A1 * XYZ1 + A2 * XYZ2 + XYZ3</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XYZ1</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XYZ2</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>XYZ3</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt; is set to the following linear form : A1 * XYZ1 + A2 * XYZ2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XYZ1</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>A2</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XYZ2</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt; is set to the following linear form : A1 * XYZ1 + XYZ2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>A1</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </li>
<li><strong>XYZ1</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>XYZ2</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
<ul class="simple">
<li>&lt;self&gt; is set to the following linear form : XYZ1 + XYZ2</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>XYZ1</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
<li><strong>XYZ2</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><p class="first last"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></p>
</td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.SetX">
<code class="descname">SetX</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.SetX" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the X coordinate</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>X</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.SetY">
<code class="descname">SetY</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.SetY" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the Y coordinate</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Y</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.SetZ">
<code class="descname">SetZ</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.SetZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Assigns the given value to the Z coordinate</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Z</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.SquareModulus">
<code class="descname">SquareModulus</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.SquareModulus" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Computes X*X + Y*Y + Z*Z where X, Y and Z are the three coordinates of this XYZ object.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Subtract">
<code class="descname">Subtract</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Subtract" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>&lt;self&gt;.X() = &lt;self&gt;.X() - Other.X() &lt;self&gt;.Y() = &lt;self&gt;.Y() - Other.Y() &lt;self&gt;.Z() = &lt;self&gt;.Z() - Other.Z()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/constants.html#None" title="(in Python v2.7)">None</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Subtracted">
<code class="descname">Subtracted</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Subtracted" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>new.X() = &lt;self&gt;.X() - Other.X() new.Y() = &lt;self&gt;.Y() - Other.Y() new.Z() = &lt;self&gt;.Z() - Other.Z()</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>Right</strong> (<a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ"><em>gp_XYZ</em></a>) &#8211; </td>
</tr>
<tr class="field-even field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_XYZ" title="OCC.gp.gp_XYZ">gp_XYZ</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.X">
<code class="descname">X</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.X" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the X coordinate</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Y">
<code class="descname">Y</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Y" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the Y coordinate</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="method">
<dt id="OCC.gp.gp_XYZ.Z">
<code class="descname">Z</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_XYZ.Z" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Returns the Z coordinate</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)">float</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="attribute">
<dt id="OCC.gp.gp_XYZ.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.gp.gp_XYZ.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>

</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_YOZ">
<code class="descname">gp_YOZ</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_YOZ" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies a coordinate system where its origin is Origin, and its &#8216;main Direction&#8217; and &#8216;X Direction&#8217; coordinates X = 1.0, Z = Y =0.0 and X direction coordinates Y = 1.0, X = Z = 0.0 In 2D space</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.gp.gp_ZOX">
<code class="descname">gp_ZOX</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.gp_ZOX" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Identifies a coordinate system where its origin is Origin, and its &#8216;main Direction&#8217; and &#8216;X Direction&#8217; coordinates Y = 1.0, X = Z =0.0 and X direction coordinates Z = 1.0, X = Y = 0.0</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body"><a class="reference internal" href="#OCC.gp.gp_Ax2" title="OCC.gp.gp_Ax2">gp_Ax2</a></td>
</tr>
</tbody>
</table>
</dd></dl>

<dl class="function">
<dt id="OCC.gp.register_handle">
<code class="descname">register_handle</code><span class="sig-paren">(</span><em>handle</em>, <em>base_object</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.gp.register_handle" title="Permalink to this definition">¶</a></dt>
<dd><p>Inserts the handle into the base object to
prevent memory corruption in certain cases</p>
</dd></dl>

</div>


           </div>
           <div class="articleComments">
            
           </div>
          </div>
          <footer>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright 2017, Thomas Paviot.

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  

    <script type="text/javascript">
        var DOCUMENTATION_OPTIONS = {
            URL_ROOT:'./',
            VERSION:'0.17.3',
            COLLAPSE_INDEX:false,
            FILE_SUFFIX:'.html',
            HAS_SOURCE:  true,
            SOURCELINK_SUFFIX: '.txt'
        };
    </script>
      <script type="text/javascript" src="_static/jquery.js"></script>
      <script type="text/javascript" src="_static/underscore.js"></script>
      <script type="text/javascript" src="_static/doctools.js"></script>

  

  
  
    <script type="text/javascript" src="_static/js/theme.js"></script>
  

  
  
  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.StickyNav.enable();
      });
  </script>
   

</body>
</html>