|
@@ -10,40 +10,41 @@
|
|
|
<body>
|
|
|
[page:Curve] →
|
|
|
|
|
|
- <h1>[name]</h1>
|
|
|
+ <h1>三维线段曲线([name])</h1>
|
|
|
|
|
|
- <p class="desc">A curve representing a 3d line segment.</p>
|
|
|
+ <p class="desc">一个表示三维线段的曲线。</p>
|
|
|
|
|
|
- <h2>Constructor</h2>
|
|
|
+ <h2>构造函数</h2>
|
|
|
|
|
|
|
|
|
<h3>[name]( [param:Vector3 v1], [param:Vector3 v2] )</h3>
|
|
|
<p>
|
|
|
- [page:Vector3 v1] – The start point.<br/>
|
|
|
- [page:Vector3 v2] - The end point.
|
|
|
+ [page:Vector3 v1] – 起点<br/>
|
|
|
+ [page:Vector3 v2] - 终点
|
|
|
</p>
|
|
|
|
|
|
|
|
|
- <h2>Properties</h2>
|
|
|
- <p>See the base [page:Curve] class for common properties.</p>
|
|
|
+ <h2>属性</h2>
|
|
|
+ <p>请参阅其基类[page:Curve]来了解共有属性。</p>
|
|
|
|
|
|
<h3>[property:Boolean isLineCurve3]</h3>
|
|
|
<p>
|
|
|
- Used to check whether this or derived classes are LineCurve3s. Default is *true*.<br /><br />
|
|
|
-
|
|
|
- You should not change this, as it used internally for optimisation.
|
|
|
+ 用于检查该类或者其派生类是否为LineCurves。默认值为*true*。
|
|
|
+ <br /><br />
|
|
|
+
|
|
|
+ 你不应当更改这个属性,它在内部使用,以用于优化。
|
|
|
</p>
|
|
|
|
|
|
<h3>[property:Vector3 v1]</h3>
|
|
|
- <p>The start point.</p>
|
|
|
+ <p>起点</p>
|
|
|
|
|
|
<h3>[property:Vector3 v2]</h3>
|
|
|
- <p>The end point.</p>
|
|
|
+ <p>终点</p>
|
|
|
|
|
|
- <h2>Methods</h2>
|
|
|
- <p>See the base [page:Curve] class for common methods.</p>
|
|
|
+ <h2>方法</h2>
|
|
|
+ <p>请参阅其基类[page:Curve]来了解共有方法。</p>
|
|
|
|
|
|
- <h2>Source</h2>
|
|
|
+ <h2>源代码</h2>
|
|
|
|
|
|
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
|
|
|
</body>
|