tune
This commit is contained in:
@@ -102,7 +102,7 @@ Class Cylindroid
|
||||
<div class="markdown conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public class Cylindroid : IStlSource, IGetStl, IMakeXmlSource, IExpandToBox3d, IGetZrContour, IDuplicate, IGetZrList</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public class Cylindroid : IStlSource, IGetStl, IMakeXmlSource, IExpandToBox3d, IGetZrContour, IDuplicate, IGetZrList, IGenStl</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -126,6 +126,7 @@ Class Cylindroid
|
||||
<div><a class="xref" href="Hi.Geom.IGetZrContour.html">IGetZrContour</a></div>
|
||||
<div><a class="xref" href="Hi.Common.IDuplicate.html">IDuplicate</a></div>
|
||||
<div><a class="xref" href="Hi.Geom.IGetZrList.html">IGetZrList</a></div>
|
||||
<div><a class="xref" href="Hi.Geom.IGenStl.html">IGenStl</a></div>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
@@ -160,10 +161,10 @@ Class Cylindroid
|
||||
<dt>Extension Methods</dt>
|
||||
<dd>
|
||||
<div>
|
||||
<a class="xref" href="Hi.Common.XmlUtils.XmlUtil.html#Hi_Common_XmlUtils_XmlUtil_MakeXmlSourceFile_Hi_Common_XmlUtils_IMakeXmlSource_System_String_">XmlUtil.MakeXmlSourceFile(IMakeXmlSource, string)</a>
|
||||
<a class="xref" href="Hi.Common.XmlUtils.XmlUtil.html#Hi_Common_XmlUtils_XmlUtil_MakeXmlSourceFile_Hi_Common_XmlUtils_IMakeXmlSource_System_String_System_Boolean_">XmlUtil.MakeXmlSourceFile(IMakeXmlSource, string, bool)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Hi.Common.XmlUtils.XmlUtil.html#Hi_Common_XmlUtils_XmlUtil_MakeXmlSourceWithRebaseFile_Hi_Common_XmlUtils_IMakeXmlSource_System_String_System_String_">XmlUtil.MakeXmlSourceWithRebaseFile(IMakeXmlSource, string, string)</a>
|
||||
<a class="xref" href="Hi.Common.XmlUtils.XmlUtil.html#Hi_Common_XmlUtils_XmlUtil_MakeXmlSourceWithRebaseFile_Hi_Common_XmlUtils_IMakeXmlSource_System_String_System_String_System_Boolean_">XmlUtil.MakeXmlSourceWithRebaseFile(IMakeXmlSource, string, string, bool)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Hi.Common.XmlUtils.XmlUtil.html#Hi_Common_XmlUtils_XmlUtil_SaveToByteArrayAsync_Hi_Common_XmlUtils_IMakeXmlSource_System_String_">XmlUtil.SaveToByteArrayAsync(IMakeXmlSource, string)</a>
|
||||
@@ -177,6 +178,9 @@ Class Cylindroid
|
||||
<div>
|
||||
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__2___0_System_Func___0___1__">InvokeUtil.SelfInvoke<TSrc, TDst>(TSrc, Func<TSrc, TDst>)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Hi.Geom.GeomUtil.html#Hi_Geom_GeomUtil_ExpandToBox3d_Hi_Geom_IExpandToBox3d_Hi_Geom_Mat4d_Hi_Geom_Box3d_">GeomUtil.ExpandToBox3d(IExpandToBox3d, Mat4d, Box3d)</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="xref" href="Hi.Geom.GeomUtil.html#Hi_Geom_GeomUtil_GetBox3d_Hi_Geom_IExpandToBox3d_">GeomUtil.GetBox3d(IExpandToBox3d)</a>
|
||||
</div>
|
||||
@@ -270,8 +274,8 @@ Class Cylindroid
|
||||
|
||||
<a id="Hi_Geom_Cylindroid__ctor_" data-uid="Hi.Geom.Cylindroid.#ctor*"></a>
|
||||
|
||||
<h3 id="Hi_Geom_Cylindroid__ctor_System_Int32_Hi_Geom_PairZr___" data-uid="Hi.Geom.Cylindroid.#ctor(System.Int32,Hi.Geom.PairZr[])">
|
||||
Cylindroid(int, params PairZr[])
|
||||
<h3 id="Hi_Geom_Cylindroid__ctor_Hi_Geom_PairZr___" data-uid="Hi.Geom.Cylindroid.#ctor(Hi.Geom.PairZr[])">
|
||||
Cylindroid(params PairZr[])
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -281,14 +285,11 @@ The order of z values should be from small to large in general case.</p>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Cylindroid(int longitudeNum = 12, params PairZr[] pairZRs)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public Cylindroid(params PairZr[] pairZRs)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>longitudeNum</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
|
||||
<dd><p>See <a class="xref" href="Hi.Geom.Cylindroid.html#Hi_Geom_Cylindroid_LongitudeNum">LongitudeNum</a>.</p>
|
||||
</dd>
|
||||
<dt><code>pairZRs</code> <a class="xref" href="Hi.Geom.PairZr.html">PairZr</a>[]</dt>
|
||||
<dd><p>See <a class="xref" href="Hi.Geom.Cylindroid.html#Hi_Geom_Cylindroid_PairZrs">PairZrs</a>.</p>
|
||||
</dd>
|
||||
@@ -342,19 +343,18 @@ The order of z values should be from small to large in general case.</p>
|
||||
</h2>
|
||||
|
||||
|
||||
<a id="Hi_Geom_Cylindroid_AngleResolution_deg_" data-uid="Hi.Geom.Cylindroid.AngleResolution_deg*"></a>
|
||||
<a id="Hi_Geom_Cylindroid_DefaultPolarResolution2d_" data-uid="Hi.Geom.Cylindroid.DefaultPolarResolution2d*"></a>
|
||||
|
||||
<h3 id="Hi_Geom_Cylindroid_AngleResolution_deg" data-uid="Hi.Geom.Cylindroid.AngleResolution_deg">
|
||||
AngleResolution_deg
|
||||
<h3 id="Hi_Geom_Cylindroid_DefaultPolarResolution2d" data-uid="Hi.Geom.Cylindroid.DefaultPolarResolution2d">
|
||||
DefaultPolarResolution2d
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets the angular resolution in degrees.</p>
|
||||
</div>
|
||||
<div class="markdown level1 summary"></div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public double AngleResolution_deg { get; set; }</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public static IPolarResolution2d DefaultPolarResolution2d { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -363,71 +363,7 @@ The order of z values should be from small to large in general case.</p>
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Geom_Cylindroid_AngleResolution_rad_" data-uid="Hi.Geom.Cylindroid.AngleResolution_rad*"></a>
|
||||
|
||||
<h3 id="Hi_Geom_Cylindroid_AngleResolution_rad" data-uid="Hi.Geom.Cylindroid.AngleResolution_rad">
|
||||
AngleResolution_rad
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Gets or sets the angular resolution in radians.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public double AngleResolution_rad { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Geom_Cylindroid_LongitudeNum_" data-uid="Hi.Geom.Cylindroid.LongitudeNum*"></a>
|
||||
|
||||
<h3 id="Hi_Geom_Cylindroid_LongitudeNum" data-uid="Hi.Geom.Cylindroid.LongitudeNum">
|
||||
LongitudeNum
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Longtitude number.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public int LongitudeNum { get; set; }</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<h4 class="section">Property Value</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
|
||||
<dt><a class="xref" href="Hi.Geom.Resolution.IPolarResolution2d.html">IPolarResolution2d</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
@@ -614,8 +550,8 @@ This function is usually used to compute the bounding box of elements.</p>
|
||||
|
||||
<a id="Hi_Geom_Cylindroid_GenCylinder_" data-uid="Hi.Geom.Cylindroid.GenCylinder*"></a>
|
||||
|
||||
<h3 id="Hi_Geom_Cylindroid_GenCylinder_System_Double_System_Double_System_Int32_" data-uid="Hi.Geom.Cylindroid.GenCylinder(System.Double,System.Double,System.Int32)">
|
||||
GenCylinder(double, double, int)
|
||||
<h3 id="Hi_Geom_Cylindroid_GenCylinder_System_Double_System_Double_" data-uid="Hi.Geom.Cylindroid.GenCylinder(System.Double,System.Double)">
|
||||
GenCylinder(double, double)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -624,7 +560,7 @@ This function is usually used to compute the bounding box of elements.</p>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static Cylindroid GenCylinder(double height, double r, int longtitudeNum = 12)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public static Cylindroid GenCylinder(double height, double r)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -634,9 +570,6 @@ This function is usually used to compute the bounding box of elements.</p>
|
||||
</dd>
|
||||
<dt><code>r</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
||||
<dd><p>The radius of the cylinder.</p>
|
||||
</dd>
|
||||
<dt><code>longtitudeNum</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
|
||||
<dd><p>The number of longitude divisions.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
@@ -659,8 +592,8 @@ This function is usually used to compute the bounding box of elements.</p>
|
||||
|
||||
<a id="Hi_Geom_Cylindroid_GenStl_" data-uid="Hi.Geom.Cylindroid.GenStl*"></a>
|
||||
|
||||
<h3 id="Hi_Geom_Cylindroid_GenStl" data-uid="Hi.Geom.Cylindroid.GenStl">
|
||||
GenStl()
|
||||
<h3 id="Hi_Geom_Cylindroid_GenStl_Hi_Geom_Resolution_IPolarResolution2d_" data-uid="Hi.Geom.Cylindroid.GenStl(Hi.Geom.Resolution.IPolarResolution2d)">
|
||||
GenStl(IPolarResolution2d)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -669,9 +602,14 @@ This function is usually used to compute the bounding box of elements.</p>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public Stl GenStl()</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public Stl GenStl(IPolarResolution2d resolution)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>resolution</code> <a class="xref" href="Hi.Geom.Resolution.IPolarResolution2d.html">IPolarResolution2d</a></dt>
|
||||
<dd></dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
@@ -690,48 +628,6 @@ This function is usually used to compute the bounding box of elements.</p>
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Geom_Cylindroid_GenStl_" data-uid="Hi.Geom.Cylindroid.GenStl*"></a>
|
||||
|
||||
<h3 id="Hi_Geom_Cylindroid_GenStl_System_Int32_Hi_Geom_PairZr___" data-uid="Hi.Geom.Cylindroid.GenStl(System.Int32,Hi.Geom.PairZr[])">
|
||||
GenStl(int, params PairZr[])
|
||||
|
||||
</h3>
|
||||
|
||||
<div class="markdown level1 summary"><p>Generate a cylindroid stl.</p>
|
||||
</div>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public static Stl GenStl(int longtitudeNum = 12, params PairZr[] pairZRs)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
<dl class="parameters">
|
||||
<dt><code>longtitudeNum</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
|
||||
<dd><p>longtitude number</p>
|
||||
</dd>
|
||||
<dt><code>pairZRs</code> <a class="xref" href="Hi.Geom.PairZr.html">PairZr</a>[]</dt>
|
||||
<dd><p>zr values</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
<h4 class="section">Returns</h4>
|
||||
<dl class="parameters">
|
||||
<dt><a class="xref" href="Hi.Geom.Stl.html">Stl</a></dt>
|
||||
<dd><p>cylindroid stl</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<a id="Hi_Geom_Cylindroid_GetStl_" data-uid="Hi.Geom.Cylindroid.GetStl*"></a>
|
||||
|
||||
<h3 id="Hi_Geom_Cylindroid_GetStl" data-uid="Hi.Geom.Cylindroid.GetStl">
|
||||
@@ -840,8 +736,8 @@ The Z values should generally be ordered from smallest to largest.</p>
|
||||
|
||||
<a id="Hi_Geom_Cylindroid_MakeXmlSource_" data-uid="Hi.Geom.Cylindroid.MakeXmlSource*"></a>
|
||||
|
||||
<h3 id="Hi_Geom_Cylindroid_MakeXmlSource_System_String_System_String_" data-uid="Hi.Geom.Cylindroid.MakeXmlSource(System.String,System.String)">
|
||||
MakeXmlSource(string, string)
|
||||
<h3 id="Hi_Geom_Cylindroid_MakeXmlSource_System_String_System_String_System_Boolean_" data-uid="Hi.Geom.Cylindroid.MakeXmlSource(System.String,System.String,System.Boolean)">
|
||||
MakeXmlSource(string, string, bool)
|
||||
|
||||
</h3>
|
||||
|
||||
@@ -851,7 +747,7 @@ This method may also generate additional resources such as related files.</p>
|
||||
<div class="markdown level1 conceptual"></div>
|
||||
|
||||
<div class="codewrapper">
|
||||
<pre><code class="lang-csharp hljs">public XElement MakeXmlSource(string baseDirectory, string relFile)</code></pre>
|
||||
<pre><code class="lang-csharp hljs">public XElement MakeXmlSource(string baseDirectory, string relFile, bool exhibitionOnly)</code></pre>
|
||||
</div>
|
||||
|
||||
<h4 class="section">Parameters</h4>
|
||||
@@ -861,6 +757,9 @@ This method may also generate additional resources such as related files.</p>
|
||||
</dd>
|
||||
<dt><code>relFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
||||
<dd><p>The relative file path for the XML source</p>
|
||||
</dd>
|
||||
<dt><code>exhibitionOnly</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
||||
<dd><p>if true, the extended file creation is suppressed.</p>
|
||||
</dd>
|
||||
</dl>
|
||||
|
||||
@@ -877,6 +776,11 @@ This method may also generate additional resources such as related files.</p>
|
||||
|
||||
|
||||
|
||||
<h4 class="section" id="Hi_Geom_Cylindroid_MakeXmlSource_System_String_System_String_System_Boolean__remarks">Remarks</h4>
|
||||
<div class="markdown level1 remarks"><p>For the demand of easy moving source folder (especially project folder) without configuration file path corruption, the relative file path is applied.
|
||||
The <code class="paramref">baseDirectory</code> is typically the folder at the nearest configuration file folder.
|
||||
Since the folder can be moving with the configuration file.</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user