代码拉取完成,页面将自动刷新
<!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.BRepIntCurveSurface module — pythonocc API 0.18 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.18 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.18
</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.BRepIntCurveSurface 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> »</li>
<li>OCC.BRepIntCurveSurface module</li>
<li class="wy-breadcrumbs-aside">
<a href="sources/OCC.BRepIntCurveSurface.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="module-OCC.BRepIntCurveSurface">
<span id="occ-brepintcurvesurface-module"></span><h1>OCC.BRepIntCurveSurface module<a class="headerlink" href="#module-OCC.BRepIntCurveSurface" title="Permalink to this headline">¶</a></h1>
<p>Inttantiates IntCurveSurface with Surfaces from BRepand Curves from Adaptor-Level: PublicAll the methods of the classes of this package are public.</p>
<dl class="class">
<dt id="OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter">
<em class="property">class </em><code class="descname">BRepIntCurveSurface_Inter</code><span class="sig-paren">(</span><em>*args</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter" 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>Empty constructor;</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="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>
<dl class="method">
<dt id="OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.Face">
<code class="descname">Face</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.Face" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the current face.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="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.TopoDS.html#OCC.TopoDS.TopoDS_Face" title="OCC.TopoDS.TopoDS_Face">TopoDS_Face</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.Init">
<code class="descname">Init</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.Init" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Load the Shape, the curve and initialize the tolerance used for the classification.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theShape</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>theCurve</strong> (<em>GeomAdaptor_Curve &</em>) – </li>
<li><strong>theTol</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="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>Load the Shape, the curve and initialize the tolerance used for the classification.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theShape</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>theLine</strong> (<a class="reference internal" href="OCC.gp.html#OCC.gp.gp_Lin" title="OCC.gp.gp_Lin"><em>gp_Lin</em></a>) – </li>
<li><strong>theTol</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="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>Method to find intersections of specified curve with loaded shape.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>theCurve</strong> (<em>GeomAdaptor_Curve &</em>) – </td>
</tr>
<tr class="field-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.BRepIntCurveSurface.BRepIntCurveSurface_Inter.Load">
<code class="descname">Load</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.Load" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Load the Shape, and initialize the tolerance used for the classification.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first simple">
<li><strong>theShape</strong> (<em>TopoDS_Shape &</em>) – </li>
<li><strong>theTol</strong> (<a class="reference external" href="https://docs.python.org/2/library/functions.html#float" title="(in Python v2.7)"><em>float</em></a>) – </li>
</ul>
</td>
</tr>
<tr class="field-even field"><th class="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.BRepIntCurveSurface.BRepIntCurveSurface_Inter.More">
<code class="descname">More</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.More" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns True if there is a current face.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="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.BRepIntCurveSurface.BRepIntCurveSurface_Inter.Next">
<code class="descname">Next</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.Next" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>Sets the next intersection point to check.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="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.BRepIntCurveSurface.BRepIntCurveSurface_Inter.Pnt">
<code class="descname">Pnt</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.Pnt" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the current geometric 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">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.gp.html#OCC.gp.gp_Pnt" title="OCC.gp.gp_Pnt">gp_Pnt</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.Point">
<code class="descname">Point</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.Point" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the current Intersection 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">Return type:</th><td class="field-body"><a class="reference internal" href="OCC.IntCurveSurface.html#OCC.IntCurveSurface.IntCurveSurface_IntersectionPoint" title="OCC.IntCurveSurface.IntCurveSurface_IntersectionPoint">IntCurveSurface_IntersectionPoint</a></td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.State">
<code class="descname">State</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.State" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the current state (IN or ON)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">TopAbs_State</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.Transition">
<code class="descname">Transition</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.Transition" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the transition of the line on the surface (IN or OUT or UNKNOWN)</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="field-body" />
<tbody valign="top">
<tr class="field-odd field"><th class="field-name">Return type:</th><td class="field-body">IntCurveSurface_TransitionOnCurve</td>
</tr>
</tbody>
</table>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.U">
<code class="descname">U</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.U" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the U parameter of the current point on the current face.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="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.BRepIntCurveSurface.BRepIntCurveSurface_Inter.V">
<code class="descname">V</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.V" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the V parameter of the current point on the current face.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="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.BRepIntCurveSurface.BRepIntCurveSurface_Inter.W">
<code class="descname">W</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.W" title="Permalink to this definition">¶</a></dt>
<dd><ul class="simple">
<li>returns the parameter of the current point on the curve.</li>
</ul>
<table class="docutils field-list" frame="void" rules="none">
<col class="field-name" />
<col class="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.BRepIntCurveSurface.BRepIntCurveSurface_Inter.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.BRepIntCurveSurface.BRepIntCurveSurface_Inter.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>
</dd></dl>
<dl class="class">
<dt id="OCC.BRepIntCurveSurface.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.BRepIntCurveSurface.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.BRepIntCurveSurface.SwigPyIterator.advance">
<code class="descname">advance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.SwigPyIterator.advance" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="OCC.BRepIntCurveSurface.SwigPyIterator.copy">
<code class="descname">copy</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.SwigPyIterator.copy" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="OCC.BRepIntCurveSurface.SwigPyIterator.decr">
<code class="descname">decr</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.SwigPyIterator.decr" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="OCC.BRepIntCurveSurface.SwigPyIterator.distance">
<code class="descname">distance</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.SwigPyIterator.distance" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="OCC.BRepIntCurveSurface.SwigPyIterator.equal">
<code class="descname">equal</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.SwigPyIterator.equal" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="OCC.BRepIntCurveSurface.SwigPyIterator.incr">
<code class="descname">incr</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.SwigPyIterator.incr" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="OCC.BRepIntCurveSurface.SwigPyIterator.next">
<code class="descname">next</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.SwigPyIterator.next" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="method">
<dt id="OCC.BRepIntCurveSurface.SwigPyIterator.previous">
<code class="descname">previous</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.SwigPyIterator.previous" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="attribute">
<dt id="OCC.BRepIntCurveSurface.SwigPyIterator.thisown">
<code class="descname">thisown</code><a class="headerlink" href="#OCC.BRepIntCurveSurface.SwigPyIterator.thisown" title="Permalink to this definition">¶</a></dt>
<dd><p>The membership flag</p>
</dd></dl>
<dl class="method">
<dt id="OCC.BRepIntCurveSurface.SwigPyIterator.value">
<code class="descname">value</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.SwigPyIterator.value" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
</dd></dl>
<dl class="function">
<dt id="OCC.BRepIntCurveSurface.new_instancemethod">
<code class="descname">new_instancemethod</code><span class="sig-paren">(</span><em>func</em>, <em>inst</em>, <em>cls</em><span class="sig-paren">)</span><a class="headerlink" href="#OCC.BRepIntCurveSurface.new_instancemethod" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<dl class="function">
<dt id="OCC.BRepIntCurveSurface.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.BRepIntCurveSurface.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>
© 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.18',
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>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。