You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

91 lines
2.8 KiB
HTML

<!DOCTYPE html>
<html lang="ar">
<head>
<meta charset="utf-8" />
<base href="../../../" />
<script src="page.js"></script>
<link type="text/css" rel="stylesheet" href="page.css" />
</head>
<body class="rtl">
<h1>[name]</h1>
<p class="desc">
إحداثيات [link:https://en.wikipedia.org/wiki/Spherical_coordinate_system الكروية] للنقطة.
</p>
<h2>المنشئ (Constructor)</h2>
<h3>
[name]( [param:Float radius], [param:Float phi], [param:Float theta] )
</h3>
<p>
[page:Float radius] - نصف القطر ، أو
[link:https://en.wikipedia.org/wiki/Euclidean_distance المسافة الإقليدية]
(المسافة الخطية) من النقطة إلى الأصل. الافتراضي هو
`1.0`.<br />
[page:Float phi] - الزاوية القطبية بالراديان من المحور y (لأعلى). الافتراضي هو
`0`.<br />
[page:Float theta] - زاوية خط الاستواء بالراديان حول المحور y (لأعلى).
الافتراضي هو `0`.<br /><br />
الأقطاب (phi) عند المحور y الموجب والسالب. يبدأ خط الاستواء
(theta) في z الموجب.
</p>
<h2>Properties</h2>
<h3>[property:Float radius]</h3>
<h3>[property:Float phi]</h3>
<h3>[property:Float theta]</h3>
<h2>الطرق (Methods)</h2>
<h3>[method:Spherical clone]()</h3>
<p>
يعود بكرة جديدة بنفس خصائص [page:.radius radius] و [page:.phi phi]
و [page:.theta theta] كهذه.
</p>
<h3>[method:this copy]( [param:Spherical s] )</h3>
<p>
ينسخ قيم خصائص [page:.radius radius] و [page:.phi phi] و [page:.theta theta] للكرة المعطاة إلى هذه الكرة.
</p>
<h3>[method:this makeSafe]()</h3>
<p>
يقيد الزاوية القطبية [page:.phi phi] لتكون بين 0.000001 و pi -
0.000001.
</p>
<h3>
[method:this set]( [param:Float radius], [param:Float phi], [param:Float theta] )
</h3>
<p>
يضبط قيم خصائص [page:.radius radius] و [page:.phi phi] و
[page:.theta theta] لهذه الكرة.
</p>
<h3>[method:this setFromVector3]( [param:Vector3 vec3] )</h3>
<p>
يضبط قيم خصائص [page:.radius radius] و [page:.phi phi] و
[page:.theta theta] لهذه الكرة من الـ[page:Vector3 Vector3].
</p>
<h3>
[method:this setFromCartesianCoords]( [param:Float x], [param:Float y], [param:Float z] )
</h3>
<p>
يضبط قيم خصائص [page:.radius radius] و [page:.phi phi] و
[page:.theta theta] لهذه الكرة من الإحداثيات الديكارتية.
</p>
<h2>المصدر (Source)</h2>
<p>
[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
</p>
</body>
</html>