Deploying to docs from @ snowykami/mbcp@04cb01910f 🚀

This commit is contained in:
远野千束 2024-08-31 00:04:13 +00:00
parent 796f37332f
commit 63044cb6f7
406 changed files with 770 additions and 770 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{_ as t,c as s,o as c,j as e,a}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/api.md","filePath":"zh/api/api.md"}'),o={name:"api/api.md"},p=e("h1",{id:"mbcp",tabindex:"-1"},[a("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"")],-1),r=e("p",null,[e("strong",null,"说明"),a(": 本模块塞了一些预设的粒子生成器")],-1),i=[p,r];function n(l,d,_,m,h,f){return c(),s("div",null,i)}const x=t(o,[["render",n]]);export{u as __pageData,x as default};

View File

@ -0,0 +1 @@
import{_ as t,c as s,o as c,j as e,a}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/api.md","filePath":"zh/api/api.md"}'),o={name:"api/api.md"},p=e("h1",{id:"mbcp",tabindex:"-1"},[a("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"")],-1),r=e("p",null,[e("strong",null,"说明"),a(": 本模块塞了一些预设的粒子生成器")],-1),i=[p,r];function n(l,d,_,m,h,f){return c(),s("div",null,i)}const x=t(o,[["render",n]]);export{u as __pageData,x as default};

View File

@ -1 +0,0 @@
import{_ as t,c as s,o as c,j as e,a}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","collapsed":true},"headers":[],"relativePath":"api/api.md","filePath":"zh/api/api.md","lastUpdated":null}'),o={name:"api/api.md"},p=e("h1",{id:"mbcp",tabindex:"-1"},[a("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"")],-1),r=e("p",null,[e("strong",null,"说明"),a(": 本模块塞了一些预设的粒子生成器")],-1),n=[p,r];function i(l,d,_,m,h,f){return c(),s("div",null,n)}const x=t(o,[["render",i]]);export{b as __pageData,x as default};

View File

@ -1 +0,0 @@
import{_ as t,c as s,o as c,j as e,a}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","collapsed":true},"headers":[],"relativePath":"api/api.md","filePath":"zh/api/api.md","lastUpdated":null}'),o={name:"api/api.md"},p=e("h1",{id:"mbcp",tabindex:"-1"},[a("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"")],-1),r=e("p",null,[e("strong",null,"说明"),a(": 本模块塞了一些预设的粒子生成器")],-1),n=[p,r];function i(l,d,_,m,h,f){return c(),s("div",null,n)}const x=t(o,[["render",i]]);export{b as __pageData,x as default};

View File

@ -1 +0,0 @@
import{_ as a,c as n,o as s,j as e,a as t}from"./chunks/framework.DpC1ZpOZ.js";const x=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","collapsed":true},"headers":[],"relativePath":"api/index.md","filePath":"zh/api/index.md","lastUpdated":null}'),c={name:"api/index.md"},o=e("h1",{id:"mbcp",tabindex:"-1"},[t("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"")],-1),r=e("p",null,[e("strong",null,"说明"),t(": 本模块塞了一些预设的粒子生成器")],-1),d=[o,r];function i(l,p,_,m,h,f){return s(),n("div",null,d)}const b=a(c,[["render",i]]);export{x as __pageData,b as default};

View File

@ -1 +0,0 @@
import{_ as a,c as n,o as s,j as e,a as t}from"./chunks/framework.DpC1ZpOZ.js";const x=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","collapsed":true},"headers":[],"relativePath":"api/index.md","filePath":"zh/api/index.md","lastUpdated":null}'),c={name:"api/index.md"},o=e("h1",{id:"mbcp",tabindex:"-1"},[t("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"")],-1),r=e("p",null,[e("strong",null,"说明"),t(": 本模块塞了一些预设的粒子生成器")],-1),d=[o,r];function i(l,p,_,m,h,f){return s(),n("div",null,d)}const b=a(c,[["render",i]]);export{x as __pageData,b as default};

View File

@ -0,0 +1 @@
import{_ as t,c as s,o as c,j as e,a}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/index.md","filePath":"zh/api/index.md"}'),n={name:"api/index.md"},o=e("h1",{id:"mbcp",tabindex:"-1"},[a("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"")],-1),r=e("p",null,[e("strong",null,"说明"),a(": 本模块塞了一些预设的粒子生成器")],-1),d=[o,r];function i(p,l,_,m,h,f){return c(),s("div",null,d)}const u=t(n,[["render",i]]);export{b as __pageData,u as default};

View File

@ -0,0 +1 @@
import{_ as t,c as s,o as c,j as e,a}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp","description":"","frontmatter":{"title":"mbcp","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/index.md","filePath":"zh/api/index.md"}'),n={name:"api/index.md"},o=e("h1",{id:"mbcp",tabindex:"-1"},[a("mbcp "),e("a",{class:"header-anchor",href:"#mbcp","aria-label":'Permalink to "mbcp"'},"")],-1),r=e("p",null,[e("strong",null,"说明"),a(": 本模块塞了一些预设的粒子生成器")],-1),d=[o,r];function i(p,l,_,m,h,f){return c(),s("div",null,d)}const u=t(n,[["render",i]]);export{b as __pageData,u as default};

View File

@ -1 +0,0 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const c=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle"},"headers":[],"relativePath":"api/mp_math/angle.md","filePath":"zh/api/mp_math/angle.md","lastUpdated":null}'),t={name:"api/mp_math/angle.md"},e=n("",80),l=[e];function h(p,k,r,d,g,o){return a(),i("div",null,l)}const F=s(t,[["render",h]]);export{c as __pageData,F as default};

View File

@ -1,4 +1,4 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const c=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle"},"headers":[],"relativePath":"api/mp_math/angle.md","filePath":"zh/api/mp_math/angle.md","lastUpdated":null}'),t={name:"api/mp_math/angle.md"},e=n(`<h1 id="mbcp-mp-math-angle" tabindex="-1">mbcp.mp_math.angle <a class="header-anchor" href="#mbcp-mp-math-angle" aria-label="Permalink to &quot;mbcp.mp_math.angle&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了角度相关的类</p><h3 id="class-angle" tabindex="-1"><em><strong>class</strong></em> <code>Angle</code> <a class="header-anchor" href="#class-angle" aria-label="Permalink to &quot;***class*** \`Angle\`&quot;"></a></h3><h3 id="class-anyangle-angle" tabindex="-1"><em><strong>class</strong></em> <code>AnyAngle(Angle)</code> <a class="header-anchor" href="#class-anyangle-angle" aria-label="Permalink to &quot;***class*** \`AnyAngle(Angle)\`&quot;"></a></h3><h4 id="def-init-self-value-float-is-radian-bool-false" tabindex="-1"><em><strong>def</strong></em> <code>__init__(self, value: float, is_radian: bool = False)</code> <a class="header-anchor" href="#def-init-self-value-float-is-radian-bool-false" aria-label="Permalink to &quot;***def*** \`__init__(self, value: float, is_radian: bool = False)\`&quot;"></a></h4><p><strong>说明</strong>: 任意角度。</p><p><strong>参数</strong>:</p><blockquote><ul><li>value: 角度或弧度值</li><li>is_radian: 是否为弧度,默认为否</li></ul></blockquote><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/angle.py#L17" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> __init__</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(self, value: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, is_radian: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">bool</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">False</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">):</span></span>
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const c=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/angle.md","filePath":"zh/api/mp_math/angle.md"}'),t={name:"api/mp_math/angle.md"},e=n(`<h1 id="mbcp-mp-math-angle" tabindex="-1">mbcp.mp_math.angle <a class="header-anchor" href="#mbcp-mp-math-angle" aria-label="Permalink to &quot;mbcp.mp_math.angle&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了角度相关的类</p><h3 id="class-angle" tabindex="-1"><em><strong>class</strong></em> <code>Angle</code> <a class="header-anchor" href="#class-angle" aria-label="Permalink to &quot;***class*** \`Angle\`&quot;"></a></h3><h3 id="class-anyangle-angle" tabindex="-1"><em><strong>class</strong></em> <code>AnyAngle(Angle)</code> <a class="header-anchor" href="#class-anyangle-angle" aria-label="Permalink to &quot;***class*** \`AnyAngle(Angle)\`&quot;"></a></h3><h4 id="def-init-self-value-float-is-radian-bool-false" tabindex="-1"><em><strong>def</strong></em> <code>__init__(self, value: float, is_radian: bool = False)</code> <a class="header-anchor" href="#def-init-self-value-float-is-radian-bool-false" aria-label="Permalink to &quot;***def*** \`__init__(self, value: float, is_radian: bool = False)\`&quot;"></a></h4><p><strong>说明</strong>: 任意角度。</p><p><strong>参数</strong>:</p><blockquote><ul><li>value: 角度或弧度值</li><li>is_radian: 是否为弧度,默认为否</li></ul></blockquote><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/angle.py#L17" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> __init__</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(self, value: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, is_radian: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">bool</span><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">=</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">False</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">):</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &quot;&quot;&quot;</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 任意角度</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> Args:</span></span>

View File

@ -0,0 +1 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const c=JSON.parse('{"title":"mbcp.mp_math.angle","description":"","frontmatter":{"title":"mbcp.mp_math.angle","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/angle.md","filePath":"zh/api/mp_math/angle.md"}'),t={name:"api/mp_math/angle.md"},e=n("",80),l=[e];function h(p,k,r,d,g,o){return a(),i("div",null,l)}const F=s(t,[["render",h]]);export{c as __pageData,F as default};

View File

@ -0,0 +1 @@
import{_ as a,c as t,o as e,a4 as o}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/const.md","filePath":"zh/api/mp_math/const.md"}'),r={name:"api/mp_math/const.md"},c=o('<h1 id="mbcp-mp-math-const" tabindex="-1">mbcp.mp_math.const <a class="header-anchor" href="#mbcp-mp-math-const" aria-label="Permalink to &quot;mbcp.mp_math.const&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了一些常用的常量</p><h3 id="var-pi-math-pi" tabindex="-1">var <code>PI</code> = <code>math.pi</code> <a class="header-anchor" href="#var-pi-math-pi" aria-label="Permalink to &quot;var `PI` = `math.pi`&quot;"></a></h3><ul><li><strong>说明</strong>: 常量 π</li></ul><h3 id="var-e-math-e" tabindex="-1">var <code>E</code> = <code>math.e</code> <a class="header-anchor" href="#var-e-math-e" aria-label="Permalink to &quot;var `E` = `math.e`&quot;"></a></h3><ul><li><strong>说明</strong>: 自然对数的底 exp(1)</li></ul><h3 id="var-golden-ratio-1-math-sqrt-5-2" tabindex="-1">var <code>GOLDEN_RATIO</code> = <code>(1 + math.sqrt(5)) / 2</code> <a class="header-anchor" href="#var-golden-ratio-1-math-sqrt-5-2" aria-label="Permalink to &quot;var `GOLDEN_RATIO` = `(1 + math.sqrt(5)) / 2`&quot;"></a></h3><ul><li><strong>说明</strong>: 黄金分割比</li></ul><h3 id="var-gamma-0-5772156649015329" tabindex="-1">var <code>GAMMA</code> = <code>0.5772156649015329</code> <a class="header-anchor" href="#var-gamma-0-5772156649015329" aria-label="Permalink to &quot;var `GAMMA` = `0.5772156649015329`&quot;"></a></h3><ul><li><strong>说明</strong>: 欧拉常数</li></ul><h3 id="var-epsilon-0-0001" tabindex="-1">var <code>EPSILON</code> = <code>0.0001</code> <a class="header-anchor" href="#var-epsilon-0-0001" aria-label="Permalink to &quot;var `EPSILON` = `0.0001`&quot;"></a></h3><ul><li><strong>说明</strong>: 精度误差</li></ul><h3 id="var-approx-0-001" tabindex="-1">var <code>APPROX</code> = <code>0.001</code> <a class="header-anchor" href="#var-approx-0-001" aria-label="Permalink to &quot;var `APPROX` = `0.001`&quot;"></a></h3><ul><li><strong>说明</strong>: 约等于判定误差</li></ul>',14),l=[c];function i(n,s,h,d,m,p){return e(),t("div",null,l)}const v=a(r,[["render",i]]);export{u as __pageData,v as default};

View File

@ -0,0 +1 @@
import{_ as a,c as t,o as e,a4 as o}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/const.md","filePath":"zh/api/mp_math/const.md"}'),r={name:"api/mp_math/const.md"},c=o("",14),l=[c];function i(n,s,h,d,m,p){return e(),t("div",null,l)}const v=a(r,[["render",i]]);export{u as __pageData,v as default};

View File

@ -1 +0,0 @@
import{_ as a,c as t,o as e,a4 as o}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const"},"headers":[],"relativePath":"api/mp_math/const.md","filePath":"zh/api/mp_math/const.md","lastUpdated":null}'),r={name:"api/mp_math/const.md"},c=o('<h1 id="mbcp-mp-math-const" tabindex="-1">mbcp.mp_math.const <a class="header-anchor" href="#mbcp-mp-math-const" aria-label="Permalink to &quot;mbcp.mp_math.const&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了一些常用的常量</p><h3 id="var-pi-math-pi" tabindex="-1">var <code>PI</code> = <code>math.pi</code> <a class="header-anchor" href="#var-pi-math-pi" aria-label="Permalink to &quot;var `PI` = `math.pi`&quot;"></a></h3><ul><li><strong>说明</strong>: 常量 π</li></ul><h3 id="var-e-math-e" tabindex="-1">var <code>E</code> = <code>math.e</code> <a class="header-anchor" href="#var-e-math-e" aria-label="Permalink to &quot;var `E` = `math.e`&quot;"></a></h3><ul><li><strong>说明</strong>: 自然对数的底 exp(1)</li></ul><h3 id="var-golden-ratio-1-math-sqrt-5-2" tabindex="-1">var <code>GOLDEN_RATIO</code> = <code>(1 + math.sqrt(5)) / 2</code> <a class="header-anchor" href="#var-golden-ratio-1-math-sqrt-5-2" aria-label="Permalink to &quot;var `GOLDEN_RATIO` = `(1 + math.sqrt(5)) / 2`&quot;"></a></h3><ul><li><strong>说明</strong>: 黄金分割比</li></ul><h3 id="var-gamma-0-5772156649015329" tabindex="-1">var <code>GAMMA</code> = <code>0.5772156649015329</code> <a class="header-anchor" href="#var-gamma-0-5772156649015329" aria-label="Permalink to &quot;var `GAMMA` = `0.5772156649015329`&quot;"></a></h3><ul><li><strong>说明</strong>: 欧拉常数</li></ul><h3 id="var-epsilon-0-0001" tabindex="-1">var <code>EPSILON</code> = <code>0.0001</code> <a class="header-anchor" href="#var-epsilon-0-0001" aria-label="Permalink to &quot;var `EPSILON` = `0.0001`&quot;"></a></h3><ul><li><strong>说明</strong>: 精度误差</li></ul><h3 id="var-approx-0-001" tabindex="-1">var <code>APPROX</code> = <code>0.001</code> <a class="header-anchor" href="#var-approx-0-001" aria-label="Permalink to &quot;var `APPROX` = `0.001`&quot;"></a></h3><ul><li><strong>说明</strong>: 约等于判定误差</li></ul>',14),l=[c];function n(i,s,h,d,m,p){return e(),t("div",null,l)}const v=a(r,[["render",n]]);export{u as __pageData,v as default};

View File

@ -1 +0,0 @@
import{_ as a,c as t,o as e,a4 as o}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math.const","description":"","frontmatter":{"title":"mbcp.mp_math.const"},"headers":[],"relativePath":"api/mp_math/const.md","filePath":"zh/api/mp_math/const.md","lastUpdated":null}'),r={name:"api/mp_math/const.md"},c=o("",14),l=[c];function n(i,s,h,d,m,p){return e(),t("div",null,l)}const v=a(r,[["render",n]]);export{u as __pageData,v as default};

View File

@ -1 +0,0 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation"},"headers":[],"relativePath":"api/mp_math/equation.md","filePath":"zh/api/mp_math/equation.md","lastUpdated":null}'),t={name:"api/mp_math/equation.md"},l=n("",23),p=[l];function h(k,e,r,E,d,g){return a(),i("div",null,p)}const F=s(t,[["render",h]]);export{u as __pageData,F as default};

View File

@ -1,4 +1,4 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation"},"headers":[],"relativePath":"api/mp_math/equation.md","filePath":"zh/api/mp_math/equation.md","lastUpdated":null}'),t={name:"api/mp_math/equation.md"},l=n(`<h1 id="mbcp-mp-math-equation" tabindex="-1">mbcp.mp_math.equation <a class="header-anchor" href="#mbcp-mp-math-equation" aria-label="Permalink to &quot;mbcp.mp_math.equation&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了方程相关的类和函数以及一些常用的数学函数</p><h3 id="class-curveequation" tabindex="-1"><em><strong>class</strong></em> <code>CurveEquation</code> <a class="header-anchor" href="#class-curveequation" aria-label="Permalink to &quot;***class*** \`CurveEquation\`&quot;"></a></h3><h4 id="def-init-self-x-func-onevarfunc-y-func-onevarfunc-z-func-onevarfunc" tabindex="-1"><em><strong>def</strong></em> <code>__init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc)</code> <a class="header-anchor" href="#def-init-self-x-func-onevarfunc-y-func-onevarfunc-z-func-onevarfunc" aria-label="Permalink to &quot;***def*** \`__init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc)\`&quot;"></a></h4><p><strong>说明</strong>: 曲线方程。</p><p><strong>参数</strong>:</p><blockquote><ul><li>x_func: x函数</li><li>y_func: y函数</li><li>z_func: z函数</li></ul></blockquote><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/equation.py#L12" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> __init__</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc):</span></span>
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/equation.md","filePath":"zh/api/mp_math/equation.md"}'),t={name:"api/mp_math/equation.md"},l=n(`<h1 id="mbcp-mp-math-equation" tabindex="-1">mbcp.mp_math.equation <a class="header-anchor" href="#mbcp-mp-math-equation" aria-label="Permalink to &quot;mbcp.mp_math.equation&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了方程相关的类和函数以及一些常用的数学函数</p><h3 id="class-curveequation" tabindex="-1"><em><strong>class</strong></em> <code>CurveEquation</code> <a class="header-anchor" href="#class-curveequation" aria-label="Permalink to &quot;***class*** \`CurveEquation\`&quot;"></a></h3><h4 id="def-init-self-x-func-onevarfunc-y-func-onevarfunc-z-func-onevarfunc" tabindex="-1"><em><strong>def</strong></em> <code>__init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc)</code> <a class="header-anchor" href="#def-init-self-x-func-onevarfunc-y-func-onevarfunc-z-func-onevarfunc" aria-label="Permalink to &quot;***def*** \`__init__(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc)\`&quot;"></a></h4><p><strong>说明</strong>: 曲线方程。</p><p><strong>参数</strong>:</p><blockquote><ul><li>x_func: x函数</li><li>y_func: y函数</li><li>z_func: z函数</li></ul></blockquote><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/equation.py#L12" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> __init__</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(self, x_func: OneVarFunc, y_func: OneVarFunc, z_func: OneVarFunc):</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &quot;&quot;&quot;</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 曲线方程</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> Args:</span></span>

View File

@ -0,0 +1 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math.equation","description":"","frontmatter":{"title":"mbcp.mp_math.equation","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/equation.md","filePath":"zh/api/mp_math/equation.md"}'),t={name:"api/mp_math/equation.md"},l=n("",23),p=[l];function h(k,e,r,E,d,g){return a(),i("div",null,p)}const F=s(t,[["render",h]]);export{u as __pageData,F as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{_ as l,c as t,j as s,a as n,a4 as a,o as i}from"./chunks/framework.DpC1ZpOZ.js";const Z=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function"},"headers":[],"relativePath":"api/mp_math/function.md","filePath":"zh/api/mp_math/function.md","lastUpdated":null}'),e={name:"api/mp_math/function.md"},Q=a("",4),T={class:"tip custom-block github-alert"},h=s("p",{class:"custom-block-title"},"TIP",-1),p={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},r={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},d=a("",1),k=[d],o=s("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[s("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[s("mi",null,"f"),s("mo",{stretchy:"false"},"("),s("mi",null,"x"),s("mo",null,","),s("mi",null,"y"),s("mo",null,","),s("mi",null,"z"),s("mo",{stretchy:"false"},")")])],-1),m={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a("",1),y=[c],u=s("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[s("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[s("mo",{stretchy:"false"},"("),s("msub",null,[s("mi",null,"x"),s("mn",null,"0")]),s("mo",null,","),s("msub",null,[s("mi",null,"y"),s("mn",null,"0")]),s("mo",null,","),s("msub",null,[s("mi",null,"z"),s("mn",null,"0")]),s("mo",{stretchy:"false"},")")])],-1),E={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},F={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},f=a("",1),_=[f],C=s("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[s("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[s("mi",{mathvariant:"normal"},"∇"),s("mi",null,"f"),s("mo",{stretchy:"false"},"("),s("msub",null,[s("mi",null,"x"),s("mn",null,"0")]),s("mo",null,","),s("msub",null,[s("mi",null,"y"),s("mn",null,"0")]),s("mo",null,","),s("msub",null,[s("mi",null,"z"),s("mn",null,"0")]),s("mo",{stretchy:"false"},")"),s("mo",null,"="),s("mrow",{"data-mjx-texclass":"INNER"},[s("mo",{"data-mjx-texclass":"OPEN"},"("),s("mfrac",null,[s("mrow",null,[s("mi",null,"∂"),s("mi",null,"f")]),s("mrow",null,[s("mi",null,"∂"),s("mi",null,"x")])]),s("mo",null,","),s("mfrac",null,[s("mrow",null,[s("mi",null,"∂"),s("mi",null,"f")]),s("mrow",null,[s("mi",null,"∂"),s("mi",null,"y")])]),s("mo",null,","),s("mfrac",null,[s("mrow",null,[s("mi",null,"∂"),s("mi",null,"f")]),s("mrow",null,[s("mi",null,"∂"),s("mi",null,"z")])]),s("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),w=a("",13);function x(b,L,H,B,M,D){return i(),t("div",null,[Q,s("div",T,[h,s("p",null,[n("已知一个函数"),s("mjx-container",p,[(i(),t("svg",r,k)),o]),n(",则其在点"),s("mjx-container",m,[(i(),t("svg",g,y)),u]),n("处的梯度向量为: "),s("mjx-container",E,[(i(),t("svg",F,_)),C])])]),w])}const A=l(e,[["render",x]]);export{Z as __pageData,A as default};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{_ as l,c as t,j as s,a as n,a4 as a,o as i}from"./chunks/framework.DpC1ZpOZ.js";const Z=JSON.parse('{"title":"mbcp.mp_math.function","description":"","frontmatter":{"title":"mbcp.mp_math.function","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/function.md","filePath":"zh/api/mp_math/function.md"}'),e={name:"api/mp_math/function.md"},Q=a("",4),T={class:"tip custom-block github-alert"},h=s("p",{class:"custom-block-title"},"TIP",-1),p={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},r={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"8.471ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 3744.3 1000","aria-hidden":"true"},d=a("",1),k=[d],o=s("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[s("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[s("mi",null,"f"),s("mo",{stretchy:"false"},"("),s("mi",null,"x"),s("mo",null,","),s("mi",null,"y"),s("mo",null,","),s("mi",null,"z"),s("mo",{stretchy:"false"},")")])],-1),m={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},g={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-0.566ex"},xmlns:"http://www.w3.org/2000/svg",width:"10.19ex",height:"2.262ex",role:"img",focusable:"false",viewBox:"0 -750 4504 1000","aria-hidden":"true"},c=a("",1),y=[c],u=s("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[s("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[s("mo",{stretchy:"false"},"("),s("msub",null,[s("mi",null,"x"),s("mn",null,"0")]),s("mo",null,","),s("msub",null,[s("mi",null,"y"),s("mn",null,"0")]),s("mo",null,","),s("msub",null,[s("mi",null,"z"),s("mn",null,"0")]),s("mo",{stretchy:"false"},")")])],-1),E={class:"MathJax",jax:"SVG",style:{direction:"ltr",position:"relative"}},F={style:{overflow:"visible","min-height":"1px","min-width":"1px","vertical-align":"-1.469ex"},xmlns:"http://www.w3.org/2000/svg",width:"29.427ex",height:"4.07ex",role:"img",focusable:"false",viewBox:"0 -1149.5 13006.8 1799","aria-hidden":"true"},f=a("",1),_=[f],C=s("mjx-assistive-mml",{unselectable:"on",display:"inline",style:{top:"0px",left:"0px",clip:"rect(1px, 1px, 1px, 1px)","-webkit-touch-callout":"none","-webkit-user-select":"none","-khtml-user-select":"none","-moz-user-select":"none","-ms-user-select":"none","user-select":"none",position:"absolute",padding:"1px 0px 0px 0px",border:"0px",display:"block",width:"auto",overflow:"hidden"}},[s("math",{xmlns:"http://www.w3.org/1998/Math/MathML"},[s("mi",{mathvariant:"normal"},"∇"),s("mi",null,"f"),s("mo",{stretchy:"false"},"("),s("msub",null,[s("mi",null,"x"),s("mn",null,"0")]),s("mo",null,","),s("msub",null,[s("mi",null,"y"),s("mn",null,"0")]),s("mo",null,","),s("msub",null,[s("mi",null,"z"),s("mn",null,"0")]),s("mo",{stretchy:"false"},")"),s("mo",null,"="),s("mrow",{"data-mjx-texclass":"INNER"},[s("mo",{"data-mjx-texclass":"OPEN"},"("),s("mfrac",null,[s("mrow",null,[s("mi",null,"∂"),s("mi",null,"f")]),s("mrow",null,[s("mi",null,"∂"),s("mi",null,"x")])]),s("mo",null,","),s("mfrac",null,[s("mrow",null,[s("mi",null,"∂"),s("mi",null,"f")]),s("mrow",null,[s("mi",null,"∂"),s("mi",null,"y")])]),s("mo",null,","),s("mfrac",null,[s("mrow",null,[s("mi",null,"∂"),s("mi",null,"f")]),s("mrow",null,[s("mi",null,"∂"),s("mi",null,"z")])]),s("mo",{"data-mjx-texclass":"CLOSE"},")")])])],-1),w=a("",13);function x(b,L,H,B,M,D){return i(),t("div",null,[Q,s("div",T,[h,s("p",null,[n("已知一个函数"),s("mjx-container",p,[(i(),t("svg",r,k)),o]),n(",则其在点"),s("mjx-container",m,[(i(),t("svg",g,y)),u]),n("处的梯度向量为: "),s("mjx-container",E,[(i(),t("svg",F,_)),C])])]),w])}const A=l(e,[["render",x]]);export{Z as __pageData,A as default};

View File

@ -1 +0,0 @@
import{_ as e,c as t,o as a,a4 as o}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","collapsed":true},"headers":[],"relativePath":"api/mp_math/index.md","filePath":"zh/api/mp_math/index.md","lastUpdated":null}'),c={name:"api/mp_math/index.md"},i=o('<h1 id="mbcp-mp-math" tabindex="-1">mbcp.mp_math <a class="header-anchor" href="#mbcp-mp-math" aria-label="Permalink to &quot;mbcp.mp_math&quot;"></a></h1><p><strong>说明</strong>: 本包定义了一些常用的导入,可直接从<code>mbcp.mp_math</code>导入使用 导入的类有:</p><ul><li><code>AnyAngle</code>:任意角</li><li><code>CurveEquation</code>:曲线方程</li><li><code>Line3</code>:三维直线</li><li><code>Plane3</code>:三维平面</li><li><code>Point3</code>:三维点</li><li><code>Segment3</code>:三维线段</li><li><code>Vector3</code>:三维向量</li></ul>',3),d=[i];function m(l,n,p,_,r,s){return a(),t("div",null,d)}const b=e(c,[["render",m]]);export{u as __pageData,b as default};

View File

@ -1 +0,0 @@
import{_ as e,c as t,o as a,a4 as o}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","collapsed":true},"headers":[],"relativePath":"api/mp_math/index.md","filePath":"zh/api/mp_math/index.md","lastUpdated":null}'),c={name:"api/mp_math/index.md"},i=o("",3),d=[i];function m(l,n,p,_,r,s){return a(),t("div",null,d)}const b=e(c,[["render",m]]);export{u as __pageData,b as default};

View File

@ -0,0 +1 @@
import{_ as e,c as t,o as a,a4 as o}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/mp_math/index.md","filePath":"zh/api/mp_math/index.md"}'),c={name:"api/mp_math/index.md"},i=o('<h1 id="mbcp-mp-math" tabindex="-1">mbcp.mp_math <a class="header-anchor" href="#mbcp-mp-math" aria-label="Permalink to &quot;mbcp.mp_math&quot;"></a></h1><p><strong>说明</strong>: 本包定义了一些常用的导入,可直接从<code>mbcp.mp_math</code>导入使用 导入的类有:</p><ul><li><code>AnyAngle</code>:任意角</li><li><code>CurveEquation</code>:曲线方程</li><li><code>Line3</code>:三维直线</li><li><code>Plane3</code>:三维平面</li><li><code>Point3</code>:三维点</li><li><code>Segment3</code>:三维线段</li><li><code>Vector3</code>:三维向量</li></ul>',3),d=[i];function m(l,p,_,n,r,s){return a(),t("div",null,d)}const f=e(c,[["render",m]]);export{u as __pageData,f as default};

View File

@ -0,0 +1 @@
import{_ as e,c as t,o as a,a4 as o}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/mp_math/index.md","filePath":"zh/api/mp_math/index.md"}'),c={name:"api/mp_math/index.md"},i=o("",3),d=[i];function m(l,p,_,n,r,s){return a(),t("div",null,d)}const f=e(c,[["render",m]]);export{u as __pageData,f as default};

View File

@ -1 +0,0 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line"},"headers":[],"relativePath":"api/mp_math/line.md","filePath":"zh/api/mp_math/line.md","lastUpdated":null}'),t={name:"api/mp_math/line.md"},l=n("",107),p=[l];function e(h,k,r,o,d,g){return a(),i("div",null,p)}const y=s(t,[["render",e]]);export{E as __pageData,y as default};

View File

@ -1,4 +1,4 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line"},"headers":[],"relativePath":"api/mp_math/line.md","filePath":"zh/api/mp_math/line.md","lastUpdated":null}'),t={name:"api/mp_math/line.md"},l=n(`<h1 id="mbcp-mp-math-line" tabindex="-1">mbcp.mp_math.line <a class="header-anchor" href="#mbcp-mp-math-line" aria-label="Permalink to &quot;mbcp.mp_math.line&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了三维空间中的直线类</p><h3 id="class-line3" tabindex="-1"><em><strong>class</strong></em> <code>Line3</code> <a class="header-anchor" href="#class-line3" aria-label="Permalink to &quot;***class*** \`Line3\`&quot;"></a></h3><h4 id="def-init-self-point-point3-direction-vector3" tabindex="-1"><em><strong>def</strong></em> <code>__init__(self, point: Point3, direction: Vector3)</code> <a class="header-anchor" href="#def-init-self-point-point3-direction-vector3" aria-label="Permalink to &quot;***def*** \`__init__(self, point: Point3, direction: Vector3)\`&quot;"></a></h4><p><strong>说明</strong>: 三维空间中的直线。由一个点和一个方向向量确定。</p><p><strong>参数</strong>:</p><blockquote><ul><li>point: 直线上的一点</li><li>direction: 直线的方向向量</li></ul></blockquote><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/line.py#L19" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> __init__</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(self, point: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;Point3&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, direction: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;Vector3&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">):</span></span>
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/line.md","filePath":"zh/api/mp_math/line.md"}'),t={name:"api/mp_math/line.md"},l=n(`<h1 id="mbcp-mp-math-line" tabindex="-1">mbcp.mp_math.line <a class="header-anchor" href="#mbcp-mp-math-line" aria-label="Permalink to &quot;mbcp.mp_math.line&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了三维空间中的直线类</p><h3 id="class-line3" tabindex="-1"><em><strong>class</strong></em> <code>Line3</code> <a class="header-anchor" href="#class-line3" aria-label="Permalink to &quot;***class*** \`Line3\`&quot;"></a></h3><h4 id="def-init-self-point-point3-direction-vector3" tabindex="-1"><em><strong>def</strong></em> <code>__init__(self, point: Point3, direction: Vector3)</code> <a class="header-anchor" href="#def-init-self-point-point3-direction-vector3" aria-label="Permalink to &quot;***def*** \`__init__(self, point: Point3, direction: Vector3)\`&quot;"></a></h4><p><strong>说明</strong>: 三维空间中的直线。由一个点和一个方向向量确定。</p><p><strong>参数</strong>:</p><blockquote><ul><li>point: 直线上的一点</li><li>direction: 直线的方向向量</li></ul></blockquote><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/line.py#L19" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> __init__</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(self, point: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;Point3&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, direction: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;Vector3&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">):</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &quot;&quot;&quot;</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 三维空间中的直线由一个点和一个方向向量确定</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> Args:</span></span>

View File

@ -0,0 +1 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const E=JSON.parse('{"title":"mbcp.mp_math.line","description":"","frontmatter":{"title":"mbcp.mp_math.line","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/line.md","filePath":"zh/api/mp_math/line.md"}'),t={name:"api/mp_math/line.md"},l=n("",107),p=[l];function e(h,k,r,o,d,g){return a(),i("div",null,p)}const y=s(t,[["render",e]]);export{E as __pageData,y as default};

View File

@ -1 +0,0 @@
import{_ as e,c as t,o as a,a4 as o}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","collapsed":true},"headers":[],"relativePath":"api/mp_math/mp_math.md","filePath":"zh/api/mp_math/mp_math.md","lastUpdated":null}'),c={name:"api/mp_math/mp_math.md"},m=o('<h1 id="mbcp-mp-math" tabindex="-1">mbcp.mp_math <a class="header-anchor" href="#mbcp-mp-math" aria-label="Permalink to &quot;mbcp.mp_math&quot;"></a></h1><p><strong>说明</strong>: 本包定义了一些常用的导入,可直接从<code>mbcp.mp_math</code>导入使用 导入的类有:</p><ul><li><code>AnyAngle</code>:任意角</li><li><code>CurveEquation</code>:曲线方程</li><li><code>Line3</code>:三维直线</li><li><code>Plane3</code>:三维平面</li><li><code>Point3</code>:三维点</li><li><code>Segment3</code>:三维线段</li><li><code>Vector3</code>:三维向量</li></ul>',3),p=[m];function _(i,l,d,n,r,s){return a(),t("div",null,p)}const b=e(c,[["render",_]]);export{u as __pageData,b as default};

View File

@ -1 +0,0 @@
import{_ as e,c as t,o as a,a4 as o}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","collapsed":true},"headers":[],"relativePath":"api/mp_math/mp_math.md","filePath":"zh/api/mp_math/mp_math.md","lastUpdated":null}'),c={name:"api/mp_math/mp_math.md"},m=o("",3),p=[m];function _(i,l,d,n,r,s){return a(),t("div",null,p)}const b=e(c,[["render",_]]);export{u as __pageData,b as default};

View File

@ -0,0 +1 @@
import{_ as e,c as t,o as a,a4 as o}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/mp_math/mp_math.md","filePath":"zh/api/mp_math/mp_math.md"}'),c={name:"api/mp_math/mp_math.md"},m=o('<h1 id="mbcp-mp-math" tabindex="-1">mbcp.mp_math <a class="header-anchor" href="#mbcp-mp-math" aria-label="Permalink to &quot;mbcp.mp_math&quot;"></a></h1><p><strong>说明</strong>: 本包定义了一些常用的导入,可直接从<code>mbcp.mp_math</code>导入使用 导入的类有:</p><ul><li><code>AnyAngle</code>:任意角</li><li><code>CurveEquation</code>:曲线方程</li><li><code>Line3</code>:三维直线</li><li><code>Plane3</code>:三维平面</li><li><code>Point3</code>:三维点</li><li><code>Segment3</code>:三维线段</li><li><code>Vector3</code>:三维向量</li></ul>',3),p=[m];function _(i,l,d,n,r,s){return a(),t("div",null,p)}const f=e(c,[["render",_]]);export{u as __pageData,f as default};

View File

@ -0,0 +1 @@
import{_ as e,c as t,o as a,a4 as o}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.mp_math","description":"","frontmatter":{"title":"mbcp.mp_math","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/mp_math/mp_math.md","filePath":"zh/api/mp_math/mp_math.md"}'),c={name:"api/mp_math/mp_math.md"},m=o("",3),p=[m];function _(i,l,d,n,r,s){return a(),t("div",null,p)}const f=e(c,[["render",_]]);export{u as __pageData,f as default};

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
import{_ as a,c as r,o as e,a4 as l}from"./chunks/framework.DpC1ZpOZ.js";const h=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/mp_math_typing.md","filePath":"zh/api/mp_math/mp_math_typing.md"}'),n={name:"api/mp_math/mp_math_typing.md"},o=l("",36),i=[o];function c(t,s,u,d,g,v){return e(),r("div",null,i)}const y=a(n,[["render",c]]);export{h as __pageData,y as default};

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
import{_ as a,c as r,o as e,a4 as l}from"./chunks/framework.DpC1ZpOZ.js";const h=JSON.parse('{"title":"mbcp.mp_math.mp_math_typing","description":"","frontmatter":{"title":"mbcp.mp_math.mp_math_typing"},"headers":[],"relativePath":"api/mp_math/mp_math_typing.md","filePath":"zh/api/mp_math/mp_math_typing.md","lastUpdated":null}'),n={name:"api/mp_math/mp_math_typing.md"},o=l("",36),i=[o];function c(t,s,u,d,g,v){return e(),r("div",null,i)}const y=a(n,[["render",c]]);export{h as __pageData,y as default};

View File

@ -1,4 +1,4 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane"},"headers":[],"relativePath":"api/mp_math/plane.md","filePath":"zh/api/mp_math/plane.md","lastUpdated":null}'),l={name:"api/mp_math/plane.md"},t=n(`<h1 id="mbcp-mp-math-plane" tabindex="-1">mbcp.mp_math.plane <a class="header-anchor" href="#mbcp-mp-math-plane" aria-label="Permalink to &quot;mbcp.mp_math.plane&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了三维空间中的平面类</p><h3 id="class-plane3" tabindex="-1"><em><strong>class</strong></em> <code>Plane3</code> <a class="header-anchor" href="#class-plane3" aria-label="Permalink to &quot;***class*** \`Plane3\`&quot;"></a></h3><h4 id="def-init-self-a-float-b-float-c-float-d-float" tabindex="-1"><em><strong>def</strong></em> <code>__init__(self, a: float, b: float, c: float, d: float)</code> <a class="header-anchor" href="#def-init-self-a-float-b-float-c-float-d-float" aria-label="Permalink to &quot;***def*** \`__init__(self, a: float, b: float, c: float, d: float)\`&quot;"></a></h4><p><strong>说明</strong>: 平面方程ax + by + cz + d = 0</p><p><strong>参数</strong>:</p><blockquote><ul><li>a: x系数</li><li>b: y系数</li><li>c: z系数</li><li>d: 常数项</li></ul></blockquote><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/plane.py#L20" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> __init__</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(self, a: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, b: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, c: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, d: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">):</span></span>
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/plane.md","filePath":"zh/api/mp_math/plane.md"}'),l={name:"api/mp_math/plane.md"},t=n(`<h1 id="mbcp-mp-math-plane" tabindex="-1">mbcp.mp_math.plane <a class="header-anchor" href="#mbcp-mp-math-plane" aria-label="Permalink to &quot;mbcp.mp_math.plane&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了三维空间中的平面类</p><h3 id="class-plane3" tabindex="-1"><em><strong>class</strong></em> <code>Plane3</code> <a class="header-anchor" href="#class-plane3" aria-label="Permalink to &quot;***class*** \`Plane3\`&quot;"></a></h3><h4 id="def-init-self-a-float-b-float-c-float-d-float" tabindex="-1"><em><strong>def</strong></em> <code>__init__(self, a: float, b: float, c: float, d: float)</code> <a class="header-anchor" href="#def-init-self-a-float-b-float-c-float-d-float" aria-label="Permalink to &quot;***def*** \`__init__(self, a: float, b: float, c: float, d: float)\`&quot;"></a></h4><p><strong>说明</strong>: 平面方程ax + by + cz + d = 0</p><p><strong>参数</strong>:</p><blockquote><ul><li>a: x系数</li><li>b: y系数</li><li>c: z系数</li><li>d: 常数项</li></ul></blockquote><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/plane.py#L20" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> __init__</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(self, a: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, b: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, c: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, d: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">):</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &quot;&quot;&quot;</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 平面方程ax + by + cz + d = 0</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> Args:</span></span>

View File

@ -0,0 +1 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/plane.md","filePath":"zh/api/mp_math/plane.md"}'),l={name:"api/mp_math/plane.md"},t=n("",105),h=[t];function p(k,e,r,d,E,o){return a(),i("div",null,h)}const F=s(l,[["render",p]]);export{y as __pageData,F as default};

View File

@ -1 +0,0 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.mp_math.plane","description":"","frontmatter":{"title":"mbcp.mp_math.plane"},"headers":[],"relativePath":"api/mp_math/plane.md","filePath":"zh/api/mp_math/plane.md","lastUpdated":null}'),l={name:"api/mp_math/plane.md"},t=n("",105),h=[t];function p(k,e,r,d,E,o){return a(),i("div",null,h)}const F=s(l,[["render",p]]);export{y as __pageData,F as default};

View File

@ -1 +0,0 @@
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point"},"headers":[],"relativePath":"api/mp_math/point.md","filePath":"zh/api/mp_math/point.md","lastUpdated":null}'),n={name:"api/mp_math/point.md"},l=t("",36),h=[l];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const c=s(n,[["render",p]]);export{y as __pageData,c as default};

View File

@ -1,4 +1,4 @@
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point"},"headers":[],"relativePath":"api/mp_math/point.md","filePath":"zh/api/mp_math/point.md","lastUpdated":null}'),n={name:"api/mp_math/point.md"},l=t(`<h1 id="mbcp-mp-math-point" tabindex="-1">mbcp.mp_math.point <a class="header-anchor" href="#mbcp-mp-math-point" aria-label="Permalink to &quot;mbcp.mp_math.point&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了三维空间中点的类。</p><h3 id="class-point3" tabindex="-1"><em><strong>class</strong></em> <code>Point3</code> <a class="header-anchor" href="#class-point3" aria-label="Permalink to &quot;***class*** \`Point3\`&quot;"></a></h3><h4 id="def-init-self-x-float-y-float-z-float" tabindex="-1"><em><strong>def</strong></em> <code>__init__(self, x: float, y: float, z: float)</code> <a class="header-anchor" href="#def-init-self-x-float-y-float-z-float" aria-label="Permalink to &quot;***def*** \`__init__(self, x: float, y: float, z: float)\`&quot;"></a></h4><p><strong>说明</strong>: 笛卡尔坐标系中的点。</p><p><strong>参数</strong>:</p><blockquote><ul><li>x: x 坐标</li><li>y: y 坐标</li><li>z: z 坐标</li></ul></blockquote><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/point.py#L15" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> __init__</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(self, x: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, y: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, z: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">):</span></span>
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/point.md","filePath":"zh/api/mp_math/point.md"}'),n={name:"api/mp_math/point.md"},l=t(`<h1 id="mbcp-mp-math-point" tabindex="-1">mbcp.mp_math.point <a class="header-anchor" href="#mbcp-mp-math-point" aria-label="Permalink to &quot;mbcp.mp_math.point&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了三维空间中点的类。</p><h3 id="class-point3" tabindex="-1"><em><strong>class</strong></em> <code>Point3</code> <a class="header-anchor" href="#class-point3" aria-label="Permalink to &quot;***class*** \`Point3\`&quot;"></a></h3><h4 id="def-init-self-x-float-y-float-z-float" tabindex="-1"><em><strong>def</strong></em> <code>__init__(self, x: float, y: float, z: float)</code> <a class="header-anchor" href="#def-init-self-x-float-y-float-z-float" aria-label="Permalink to &quot;***def*** \`__init__(self, x: float, y: float, z: float)\`&quot;"></a></h4><p><strong>说明</strong>: 笛卡尔坐标系中的点。</p><p><strong>参数</strong>:</p><blockquote><ul><li>x: x 坐标</li><li>y: y 坐标</li><li>z: z 坐标</li></ul></blockquote><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/point.py#L15" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> __init__</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(self, x: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, y: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, z: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">):</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &quot;&quot;&quot;</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 笛卡尔坐标系中的点</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> Args:</span></span>

View File

@ -0,0 +1 @@
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.mp_math.point","description":"","frontmatter":{"title":"mbcp.mp_math.point","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/point.md","filePath":"zh/api/mp_math/point.md"}'),n={name:"api/mp_math/point.md"},l=t("",36),h=[l];function p(e,k,r,o,d,g){return a(),i("div",null,h)}const c=s(n,[["render",p]]);export{y as __pageData,c as default};

View File

@ -1 +0,0 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const o=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment"},"headers":[],"relativePath":"api/mp_math/segment.md","filePath":"zh/api/mp_math/segment.md","lastUpdated":null}'),t={name:"api/mp_math/segment.md"},p=n("",6),h=[p];function l(e,k,r,d,E,g){return a(),i("div",null,h)}const y=s(t,[["render",l]]);export{o as __pageData,y as default};

View File

@ -1,4 +1,4 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const o=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment"},"headers":[],"relativePath":"zht/api/mp_math/segment.md","filePath":"zht/api/mp_math/segment.md","lastUpdated":1724915255000}'),t={name:"zht/api/mp_math/segment.md"},p=n(`<h1 id="mbcp-mp-math-segment" tabindex="-1">mbcp.mp_math.segment <a class="header-anchor" href="#mbcp-mp-math-segment" aria-label="Permalink to &quot;mbcp.mp_math.segment&quot;"></a></h1><p><strong>明</strong>: 本模块定义了三维空间中的线段类</p><h3 id="class-segment3" tabindex="-1"><em><strong>class</strong></em> <code>Segment3</code> <a class="header-anchor" href="#class-segment3" aria-label="Permalink to &quot;***class*** \`Segment3\`&quot;"></a></h3><h4 id="def-init-self-p1-point3-p2-point3" tabindex="-1"><em><strong>def</strong></em> <code>__init__(self, p1: Point3, p2: Point3)</code> <a class="header-anchor" href="#def-init-self-p1-point3-p2-point3" aria-label="Permalink to &quot;***def*** \`__init__(self, p1: Point3, p2: Point3)\`&quot;"></a></h4><p><strong>明</strong>: 三维空间中的线段。 :param p1: :param p2:</p><details><summary><b>源</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/segment.py#L14" target="_blank">GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> __init__</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(self, p1: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;Point3&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, p2: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;Point3&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">):</span></span>
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const o=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/segment.md","filePath":"zh/api/mp_math/segment.md"}'),t={name:"api/mp_math/segment.md"},p=n(`<h1 id="mbcp-mp-math-segment" tabindex="-1">mbcp.mp_math.segment <a class="header-anchor" href="#mbcp-mp-math-segment" aria-label="Permalink to &quot;mbcp.mp_math.segment&quot;"></a></h1><p><strong>明</strong>: 本模块定义了三维空间中的线段类</p><h3 id="class-segment3" tabindex="-1"><em><strong>class</strong></em> <code>Segment3</code> <a class="header-anchor" href="#class-segment3" aria-label="Permalink to &quot;***class*** \`Segment3\`&quot;"></a></h3><h4 id="def-init-self-p1-point3-p2-point3" tabindex="-1"><em><strong>def</strong></em> <code>__init__(self, p1: Point3, p2: Point3)</code> <a class="header-anchor" href="#def-init-self-p1-point3-p2-point3" aria-label="Permalink to &quot;***def*** \`__init__(self, p1: Point3, p2: Point3)\`&quot;"></a></h4><p><strong>明</strong>: 三维空间中的线段。 :param p1: :param p2:</p><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/segment.py#L14" target="_blank">GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> __init__</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(self, p1: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;Point3&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, p2: </span><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;">&#39;Point3&#39;</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">):</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &quot;&quot;&quot;</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 三维空间中的线段</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> :param p1:</span></span>

View File

@ -0,0 +1 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const o=JSON.parse('{"title":"mbcp.mp_math.segment","description":"","frontmatter":{"title":"mbcp.mp_math.segment","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/segment.md","filePath":"zh/api/mp_math/segment.md"}'),t={name:"api/mp_math/segment.md"},p=n("",6),h=[p];function e(l,k,r,d,E,g){return a(),i("div",null,h)}const y=s(t,[["render",e]]);export{o as __pageData,y as default};

View File

@ -1 +0,0 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const F=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils"},"headers":[],"relativePath":"api/mp_math/utils.md","filePath":"zh/api/mp_math/utils.md","lastUpdated":null}'),t={name:"api/mp_math/utils.md"},l=n("",35),h=[l];function p(e,k,r,d,o,g){return a(),i("div",null,h)}const E=s(t,[["render",p]]);export{F as __pageData,E as default};

View File

@ -1,4 +1,4 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const F=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils"},"headers":[],"relativePath":"api/mp_math/utils.md","filePath":"zh/api/mp_math/utils.md","lastUpdated":null}'),t={name:"api/mp_math/utils.md"},l=n(`<h1 id="mbcp-mp-math-utils" tabindex="-1">mbcp.mp_math.utils <a class="header-anchor" href="#mbcp-mp-math-utils" aria-label="Permalink to &quot;mbcp.mp_math.utils&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了一些常用的工具函数</p><h3 id="def-clamp-x-float-min-float-max-float-float" tabindex="-1"><em><strong>def</strong></em> <code>clamp(x: float, min_: float, max_: float) -&gt; float</code> <a class="header-anchor" href="#def-clamp-x-float-min-float-max-float-float" aria-label="Permalink to &quot;***def*** \`clamp(x: float, min_: float, max_: float) -&gt; float\`&quot;"></a></h3><p><strong>说明</strong>: 区间限定函数</p><p><strong>参数</strong>:</p><blockquote><ul><li>x: 待限定的值</li><li>min_: 最小值</li><li>max_: 最大值</li></ul></blockquote><p><strong>返回</strong>: 限制后的值</p><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/utils.py#L17" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> clamp</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(x: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, min_: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, max_: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) -&gt; </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const F=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/utils.md","filePath":"zh/api/mp_math/utils.md"}'),t={name:"api/mp_math/utils.md"},l=n(`<h1 id="mbcp-mp-math-utils" tabindex="-1">mbcp.mp_math.utils <a class="header-anchor" href="#mbcp-mp-math-utils" aria-label="Permalink to &quot;mbcp.mp_math.utils&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了一些常用的工具函数</p><h3 id="def-clamp-x-float-min-float-max-float-float" tabindex="-1"><em><strong>def</strong></em> <code>clamp(x: float, min_: float, max_: float) -&gt; float</code> <a class="header-anchor" href="#def-clamp-x-float-min-float-max-float-float" aria-label="Permalink to &quot;***def*** \`clamp(x: float, min_: float, max_: float) -&gt; float\`&quot;"></a></h3><p><strong>说明</strong>: 区间限定函数</p><p><strong>参数</strong>:</p><blockquote><ul><li>x: 待限定的值</li><li>min_: 最小值</li><li>max_: 最大值</li></ul></blockquote><p><strong>返回</strong>: 限制后的值</p><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/utils.py#L17" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> clamp</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(x: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, min_: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, max_: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">) -&gt; </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">:</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &quot;&quot;&quot;</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 区间限定函数</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> Args:</span></span>

View File

@ -0,0 +1 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const F=JSON.parse('{"title":"mbcp.mp_math.utils","description":"","frontmatter":{"title":"mbcp.mp_math.utils","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/utils.md","filePath":"zh/api/mp_math/utils.md"}'),t={name:"api/mp_math/utils.md"},l=n("",35),h=[l];function p(e,k,r,d,o,g){return a(),i("div",null,h)}const E=s(t,[["render",p]]);export{F as __pageData,E as default};

View File

@ -1 +0,0 @@
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector"},"headers":[],"relativePath":"api/mp_math/vector.md","filePath":"zh/api/mp_math/vector.md","lastUpdated":null}'),n={name:"api/mp_math/vector.md"},h=t("",127),e=[h];function l(p,k,r,o,d,g){return a(),i("div",null,e)}const c=s(n,[["render",l]]);export{y as __pageData,c as default};

View File

@ -1,4 +1,4 @@
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector"},"headers":[],"relativePath":"api/mp_math/vector.md","filePath":"zh/api/mp_math/vector.md","lastUpdated":null}'),n={name:"api/mp_math/vector.md"},h=t(`<h1 id="mbcp-mp-math-vector" tabindex="-1">mbcp.mp_math.vector <a class="header-anchor" href="#mbcp-mp-math-vector" aria-label="Permalink to &quot;mbcp.mp_math.vector&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了3维向量的类Vector3以及一些常用的向量。</p><h3 id="class-vector3" tabindex="-1"><em><strong>class</strong></em> <code>Vector3</code> <a class="header-anchor" href="#class-vector3" aria-label="Permalink to &quot;***class*** \`Vector3\`&quot;"></a></h3><h4 id="def-init-self-x-float-y-float-z-float" tabindex="-1"><em><strong>def</strong></em> <code>__init__(self, x: float, y: float, z: float)</code> <a class="header-anchor" href="#def-init-self-x-float-y-float-z-float" aria-label="Permalink to &quot;***def*** \`__init__(self, x: float, y: float, z: float)\`&quot;"></a></h4><p><strong>说明</strong>: 3维向量</p><p><strong>参数</strong>:</p><blockquote><ul><li>x: x轴分量</li><li>y: y轴分量</li><li>z: z轴分量</li></ul></blockquote><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/vector.py#L18" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> __init__</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(self, x: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, y: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, z: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">):</span></span>
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/vector.md","filePath":"zh/api/mp_math/vector.md"}'),n={name:"api/mp_math/vector.md"},h=t(`<h1 id="mbcp-mp-math-vector" tabindex="-1">mbcp.mp_math.vector <a class="header-anchor" href="#mbcp-mp-math-vector" aria-label="Permalink to &quot;mbcp.mp_math.vector&quot;"></a></h1><p><strong>说明</strong>: 本模块定义了3维向量的类Vector3以及一些常用的向量。</p><h3 id="class-vector3" tabindex="-1"><em><strong>class</strong></em> <code>Vector3</code> <a class="header-anchor" href="#class-vector3" aria-label="Permalink to &quot;***class*** \`Vector3\`&quot;"></a></h3><h4 id="def-init-self-x-float-y-float-z-float" tabindex="-1"><em><strong>def</strong></em> <code>__init__(self, x: float, y: float, z: float)</code> <a class="header-anchor" href="#def-init-self-x-float-y-float-z-float" aria-label="Permalink to &quot;***def*** \`__init__(self, x: float, y: float, z: float)\`&quot;"></a></h4><p><strong>说明</strong>: 3维向量</p><p><strong>参数</strong>:</p><blockquote><ul><li>x: x轴分量</li><li>y: y轴分量</li><li>z: z轴分量</li></ul></blockquote><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/mp_math/vector.py#L18" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;"> __init__</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(self, x: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, y: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, z: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">):</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &quot;&quot;&quot;</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 3维向量</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> Args:</span></span>

View File

@ -0,0 +1 @@
import{_ as s,c as i,o as a,a4 as t}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.mp_math.vector","description":"","frontmatter":{"title":"mbcp.mp_math.vector","lastUpdated":false},"headers":[],"relativePath":"api/mp_math/vector.md","filePath":"zh/api/mp_math/vector.md"}'),n={name:"api/mp_math/vector.md"},h=t("",127),e=[h];function l(p,k,r,o,d,g){return a(),i("div",null,e)}const c=s(n,[["render",l]]);export{y as __pageData,c as default};

View File

@ -0,0 +1 @@
import{_ as t,c,o as r,j as e,a}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/particle/index.md","filePath":"zh/api/particle/index.md"}'),i={name:"api/particle/index.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[a("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"")],-1),l=e("p",null,[e("strong",null,"说明"),a(": 本模块定义了粒子生成相关的工具")],-1),s=[p,l];function n(o,d,_,m,h,f){return r(),c("div",null,s)}const u=t(i,[["render",n]]);export{b as __pageData,u as default};

View File

@ -0,0 +1 @@
import{_ as t,c,o as r,j as e,a}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/particle/index.md","filePath":"zh/api/particle/index.md"}'),i={name:"api/particle/index.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[a("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"")],-1),l=e("p",null,[e("strong",null,"说明"),a(": 本模块定义了粒子生成相关的工具")],-1),s=[p,l];function n(o,d,_,m,h,f){return r(),c("div",null,s)}const u=t(i,[["render",n]]);export{b as __pageData,u as default};

View File

@ -1 +0,0 @@
import{_ as a,c,o as r,j as e,a as t}from"./chunks/framework.DpC1ZpOZ.js";const x=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","collapsed":true},"headers":[],"relativePath":"api/particle/index.md","filePath":"zh/api/particle/index.md","lastUpdated":null}'),i={name:"api/particle/index.md"},l=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"")],-1),p=e("p",null,[e("strong",null,"说明"),t(": 本模块定义了粒子生成相关的工具")],-1),n=[l,p];function s(o,d,_,m,h,f){return r(),c("div",null,n)}const b=a(i,[["render",s]]);export{x as __pageData,b as default};

View File

@ -1 +0,0 @@
import{_ as a,c,o as r,j as e,a as t}from"./chunks/framework.DpC1ZpOZ.js";const x=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","collapsed":true},"headers":[],"relativePath":"api/particle/index.md","filePath":"zh/api/particle/index.md","lastUpdated":null}'),i={name:"api/particle/index.md"},l=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"")],-1),p=e("p",null,[e("strong",null,"说明"),t(": 本模块定义了粒子生成相关的工具")],-1),n=[l,p];function s(o,d,_,m,h,f){return r(),c("div",null,n)}const b=a(i,[["render",s]]);export{x as __pageData,b as default};

View File

@ -1 +0,0 @@
import{_ as a,c,o as r,j as e,a as t}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","collapsed":true},"headers":[],"relativePath":"api/particle/particle.md","filePath":"zh/api/particle/particle.md","lastUpdated":null}'),l={name:"api/particle/particle.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"")],-1),i=e("p",null,[e("strong",null,"说明"),t(": 本模块定义了粒子生成相关的工具")],-1),s=[p,i];function o(n,d,_,m,h,f){return r(),c("div",null,s)}const x=a(l,[["render",o]]);export{b as __pageData,x as default};

View File

@ -1 +0,0 @@
import{_ as a,c,o as r,j as e,a as t}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","collapsed":true},"headers":[],"relativePath":"api/particle/particle.md","filePath":"zh/api/particle/particle.md","lastUpdated":null}'),l={name:"api/particle/particle.md"},p=e("h1",{id:"mbcp-particle",tabindex:"-1"},[t("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"")],-1),i=e("p",null,[e("strong",null,"说明"),t(": 本模块定义了粒子生成相关的工具")],-1),s=[p,i];function o(n,d,_,m,h,f){return r(),c("div",null,s)}const x=a(l,[["render",o]]);export{b as __pageData,x as default};

View File

@ -0,0 +1 @@
import{_ as t,c,o as r,j as e,a}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/particle/particle.md","filePath":"zh/api/particle/particle.md"}'),p={name:"api/particle/particle.md"},l=e("h1",{id:"mbcp-particle",tabindex:"-1"},[a("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"")],-1),i=e("p",null,[e("strong",null,"说明"),a(": 本模块定义了粒子生成相关的工具")],-1),s=[l,i];function o(n,d,_,m,h,f){return r(),c("div",null,s)}const x=t(p,[["render",o]]);export{u as __pageData,x as default};

View File

@ -0,0 +1 @@
import{_ as t,c,o as r,j as e,a}from"./chunks/framework.DpC1ZpOZ.js";const u=JSON.parse('{"title":"mbcp.particle","description":"","frontmatter":{"title":"mbcp.particle","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/particle/particle.md","filePath":"zh/api/particle/particle.md"}'),p={name:"api/particle/particle.md"},l=e("h1",{id:"mbcp-particle",tabindex:"-1"},[a("mbcp.particle "),e("a",{class:"header-anchor",href:"#mbcp-particle","aria-label":'Permalink to "mbcp.particle"'},"")],-1),i=e("p",null,[e("strong",null,"说明"),a(": 本模块定义了粒子生成相关的工具")],-1),s=[l,i];function o(n,d,_,m,h,f){return r(),c("div",null,s)}const x=t(p,[["render",o]]);export{u as __pageData,x as default};

View File

@ -0,0 +1 @@
import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/presets/index.md","filePath":"zh/api/presets/index.md"}'),r={name:"api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"")],-1),n=e("p",null,[e("strong",null,"说明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),l=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),p=[i,n,l];function c(d,m,_,h,u,f){return o(),a("div",null,p)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};

View File

@ -0,0 +1 @@
import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/presets/index.md","filePath":"zh/api/presets/index.md"}'),r={name:"api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"")],-1),n=e("p",null,[e("strong",null,"说明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),l=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),p=[i,n,l];function c(d,m,_,h,u,f){return o(),a("div",null,p)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};

View File

@ -1 +0,0 @@
import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","collapsed":true},"headers":[],"relativePath":"api/presets/index.md","filePath":"zh/api/presets/index.md","lastUpdated":null}'),r={name:"api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"")],-1),n=e("p",null,[e("strong",null,"说明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),l=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),p=[i,n,l];function c(d,m,_,h,u,f){return o(),a("div",null,p)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};

View File

@ -1 +0,0 @@
import{_ as s,c as a,o,j as e,a as t}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","collapsed":true},"headers":[],"relativePath":"api/presets/index.md","filePath":"zh/api/presets/index.md","lastUpdated":null}'),r={name:"api/presets/index.md"},i=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"")],-1),n=e("p",null,[e("strong",null,"说明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),l=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),p=[i,n,l];function c(d,m,_,h,u,f){return o(),a("div",null,p)}const x=s(r,[["render",c]]);export{b as __pageData,x as default};

View File

@ -1 +0,0 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const o=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","collapsed":true},"headers":[],"relativePath":"api/presets/model/index.md","filePath":"zh/api/presets/model/index.md","lastUpdated":null}'),t={name:"api/presets/model/index.md"},h=n("",10),l=[h];function p(k,e,r,d,E,g){return a(),i("div",null,l)}const c=s(t,[["render",p]]);export{o as __pageData,c as default};

View File

@ -1,4 +1,4 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const o=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","collapsed":true},"headers":[],"relativePath":"api/presets/model/index.md","filePath":"zh/api/presets/model/index.md","lastUpdated":null}'),t={name:"api/presets/model/index.md"},h=n(`<h1 id="mbcp-presets-model" tabindex="-1">mbcp.presets.model <a class="header-anchor" href="#mbcp-presets-model" aria-label="Permalink to &quot;mbcp.presets.model&quot;"></a></h1><p><strong>说明</strong>: 几何模型点集</p><h3 id="class-geometricmodels" tabindex="-1"><em><strong>class</strong></em> <code>GeometricModels</code> <a class="header-anchor" href="#class-geometricmodels" aria-label="Permalink to &quot;***class*** \`GeometricModels\`&quot;"></a></h3><p><code>@staticmethod</code></p><h4 id="def-sphere-radius-float-density-float" tabindex="-1"><em><strong>def</strong></em> <code>sphere(radius: float, density: float)</code> <a class="header-anchor" href="#def-sphere-radius-float-density-float" aria-label="Permalink to &quot;***def*** \`sphere(radius: float, density: float)\`&quot;"></a></h4><p><strong>说明</strong>: 生成球体上的点集。</p><p><strong>参数</strong>:</p><blockquote><ul><li>radius:</li><li>density:</li></ul></blockquote><p><strong>返回</strong>: List[Point3]: 球体上的点集。</p><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/presets/model/__init__.py#L12" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">@</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">staticmethod</span></span>
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const o=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/presets/model/index.md","filePath":"zh/api/presets/model/index.md"}'),t={name:"api/presets/model/index.md"},h=n(`<h1 id="mbcp-presets-model" tabindex="-1">mbcp.presets.model <a class="header-anchor" href="#mbcp-presets-model" aria-label="Permalink to &quot;mbcp.presets.model&quot;"></a></h1><p><strong>说明</strong>: 几何模型点集</p><h3 id="class-geometricmodels" tabindex="-1"><em><strong>class</strong></em> <code>GeometricModels</code> <a class="header-anchor" href="#class-geometricmodels" aria-label="Permalink to &quot;***class*** \`GeometricModels\`&quot;"></a></h3><p><code>@staticmethod</code></p><h4 id="def-sphere-radius-float-density-float" tabindex="-1"><em><strong>def</strong></em> <code>sphere(radius: float, density: float)</code> <a class="header-anchor" href="#def-sphere-radius-float-density-float" aria-label="Permalink to &quot;***def*** \`sphere(radius: float, density: float)\`&quot;"></a></h4><p><strong>说明</strong>: 生成球体上的点集。</p><p><strong>参数</strong>:</p><blockquote><ul><li>radius:</li><li>density:</li></ul></blockquote><p><strong>返回</strong>: List[Point3]: 球体上的点集。</p><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/presets/model/__init__.py#L12" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">@</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">staticmethod</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> sphere</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(radius: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, density: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">):</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &quot;&quot;&quot;</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 生成球体上的点集</span></span>

View File

@ -0,0 +1 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const o=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/presets/model/index.md","filePath":"zh/api/presets/model/index.md"}'),t={name:"api/presets/model/index.md"},h=n("",10),l=[h];function p(k,e,r,d,E,g){return a(),i("div",null,l)}const c=s(t,[["render",p]]);export{o as __pageData,c as default};

View File

@ -1,4 +1,4 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","collapsed":true},"headers":[],"relativePath":"api/presets/model/model.md","filePath":"zh/api/presets/model/model.md","lastUpdated":null}'),t={name:"api/presets/model/model.md"},h=n(`<h1 id="mbcp-presets-model" tabindex="-1">mbcp.presets.model <a class="header-anchor" href="#mbcp-presets-model" aria-label="Permalink to &quot;mbcp.presets.model&quot;"></a></h1><p><strong>说明</strong>: 几何模型点集</p><h3 id="class-geometricmodels" tabindex="-1"><em><strong>class</strong></em> <code>GeometricModels</code> <a class="header-anchor" href="#class-geometricmodels" aria-label="Permalink to &quot;***class*** \`GeometricModels\`&quot;"></a></h3><p><code>@staticmethod</code></p><h4 id="def-sphere-radius-float-density-float" tabindex="-1"><em><strong>def</strong></em> <code>sphere(radius: float, density: float)</code> <a class="header-anchor" href="#def-sphere-radius-float-density-float" aria-label="Permalink to &quot;***def*** \`sphere(radius: float, density: float)\`&quot;"></a></h4><p><strong>说明</strong>: 生成球体上的点集。</p><p><strong>参数</strong>:</p><blockquote><ul><li>radius:</li><li>density:</li></ul></blockquote><p><strong>返回</strong>: List[Point3]: 球体上的点集。</p><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/presets/model/__init__.py#L12" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">@</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">staticmethod</span></span>
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/presets/model/model.md","filePath":"zh/api/presets/model/model.md"}'),t={name:"api/presets/model/model.md"},h=n(`<h1 id="mbcp-presets-model" tabindex="-1">mbcp.presets.model <a class="header-anchor" href="#mbcp-presets-model" aria-label="Permalink to &quot;mbcp.presets.model&quot;"></a></h1><p><strong>说明</strong>: 几何模型点集</p><h3 id="class-geometricmodels" tabindex="-1"><em><strong>class</strong></em> <code>GeometricModels</code> <a class="header-anchor" href="#class-geometricmodels" aria-label="Permalink to &quot;***class*** \`GeometricModels\`&quot;"></a></h3><p><code>@staticmethod</code></p><h4 id="def-sphere-radius-float-density-float" tabindex="-1"><em><strong>def</strong></em> <code>sphere(radius: float, density: float)</code> <a class="header-anchor" href="#def-sphere-radius-float-density-float" aria-label="Permalink to &quot;***def*** \`sphere(radius: float, density: float)\`&quot;"></a></h4><p><strong>说明</strong>: 生成球体上的点集。</p><p><strong>参数</strong>:</p><blockquote><ul><li>radius:</li><li>density:</li></ul></blockquote><p><strong>返回</strong>: List[Point3]: 球体上的点集。</p><details><summary><b>源代码</b> 或 <a href="https://github.com/snowykami/mbcp/tree/main/mbcp/presets/model/__init__.py#L12" target="_blank">在GitHub上查看</a></summary><div class="language-python vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">python</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">@</span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">staticmethod</span></span>
<span class="line"><span style="--shiki-light:#D73A49;--shiki-dark:#F97583;">def</span><span style="--shiki-light:#6F42C1;--shiki-dark:#B392F0;"> sphere</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">(radius: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">, density: </span><span style="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">float</span><span style="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">):</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> &quot;&quot;&quot;</span></span>
<span class="line"><span style="--shiki-light:#032F62;--shiki-dark:#9ECBFF;"> 生成球体上的点集</span></span>

View File

@ -0,0 +1 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/presets/model/model.md","filePath":"zh/api/presets/model/model.md"}'),t={name:"api/presets/model/model.md"},h=n("",10),l=[h];function p(k,e,r,d,E,o){return a(),i("div",null,l)}const c=s(t,[["render",p]]);export{y as __pageData,c as default};

View File

@ -1 +0,0 @@
import{_ as s,c as i,o as a,a4 as n}from"./chunks/framework.DpC1ZpOZ.js";const y=JSON.parse('{"title":"mbcp.presets.model","description":"","frontmatter":{"title":"mbcp.presets.model","collapsed":true},"headers":[],"relativePath":"api/presets/model/model.md","filePath":"zh/api/presets/model/model.md","lastUpdated":null}'),t={name:"api/presets/model/model.md"},h=n("",10),l=[h];function p(k,e,r,d,E,o){return a(),i("div",null,l)}const c=s(t,[["render",p]]);export{y as __pageData,c as default};

View File

@ -1 +0,0 @@
import{_ as s,c as r,o as a,j as e,a as t}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","collapsed":true},"headers":[],"relativePath":"api/presets/presets.md","filePath":"zh/api/presets/presets.md","lastUpdated":null}'),o={name:"api/presets/presets.md"},p=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"")],-1),i=e("p",null,[e("strong",null,"说明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),l=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),n=[p,i,l];function c(m,d,_,h,u,f){return a(),r("div",null,n)}const y=s(o,[["render",c]]);export{b as __pageData,y as default};

View File

@ -1 +0,0 @@
import{_ as s,c as r,o as a,j as e,a as t}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","collapsed":true},"headers":[],"relativePath":"api/presets/presets.md","filePath":"zh/api/presets/presets.md","lastUpdated":null}'),o={name:"api/presets/presets.md"},p=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"")],-1),i=e("p",null,[e("strong",null,"说明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),l=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),n=[p,i,l];function c(m,d,_,h,u,f){return a(),r("div",null,n)}const y=s(o,[["render",c]]);export{b as __pageData,y as default};

View File

@ -0,0 +1 @@
import{_ as s,c as r,o as a,j as e,a as t}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/presets/presets.md","filePath":"zh/api/presets/presets.md"}'),o={name:"api/presets/presets.md"},p=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"")],-1),i=e("p",null,[e("strong",null,"说明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),l=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),n=[p,i,l];function c(m,d,_,h,u,f){return a(),r("div",null,n)}const y=s(o,[["render",c]]);export{b as __pageData,y as default};

View File

@ -0,0 +1 @@
import{_ as s,c as r,o as a,j as e,a as t}from"./chunks/framework.DpC1ZpOZ.js";const b=JSON.parse('{"title":"mbcp.presets","description":"","frontmatter":{"title":"mbcp.presets","lastUpdated":false,"collapsed":true},"headers":[],"relativePath":"api/presets/presets.md","filePath":"zh/api/presets/presets.md"}'),o={name:"api/presets/presets.md"},p=e("h1",{id:"mbcp-presets",tabindex:"-1"},[t("mbcp.presets "),e("a",{class:"header-anchor",href:"#mbcp-presets","aria-label":'Permalink to "mbcp.presets"'},"")],-1),i=e("p",null,[e("strong",null,"说明"),t(": Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved")],-1),l=e("p",null,[t("@Time : 2024/8/12 下午9:12 @Author : snowykami @Email : "),e("a",{href:"mailto:snowykami@outlook.com",target:"_blank",rel:"noreferrer"},"snowykami@outlook.com"),t(" @File : "),e("strong",null,"init"),t(".py @Software: PyCharm")],-1),n=[p,i,l];function c(m,d,_,h,u,f){return a(),r("div",null,n)}const y=s(o,[["render",c]]);export{b as __pageData,y as default};

View File

@ -1 +1 @@
import{t as p}from"./chunks/theme.B1OYTEE9.js";import{U as o,a5 as u,a6 as c,a7 as l,a8 as f,a9 as d,aa as m,ab as h,ac as g,ad as A,ae as y,d as P,u as v,y as C,x as b,af as w,ag as E,ah as R,ai as S}from"./chunks/framework.DpC1ZpOZ.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(p),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return C(()=>{b(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&w(),E(),R(),s.setup&&s.setup(),()=>S(s.Layout)}});async function x(){globalThis.__VITEPRESS__=!0;const e=_(),a=D();a.provide(c,e);const t=l(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function D(){return g(T)}function _(){let e=o,a;return A(t=>{let n=y(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&x().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{x as createApp};
import{t as p}from"./chunks/theme.C6q8dLhO.js";import{U as o,a5 as u,a6 as c,a7 as l,a8 as f,a9 as d,aa as m,ab as h,ac as g,ad as A,ae as y,d as P,u as v,y as C,x as b,af as w,ag as E,ah as R,ai as S}from"./chunks/framework.DpC1ZpOZ.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const s=i(p),T=P({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=v();return C(()=>{b(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&w(),E(),R(),s.setup&&s.setup(),()=>S(s.Layout)}});async function x(){globalThis.__VITEPRESS__=!0;const e=_(),a=D();a.provide(c,e);const t=l(e.route);return a.provide(f,t),a.component("Content",d),a.component("ClientOnly",m),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),s.enhanceApp&&await s.enhanceApp({app:a,router:e,siteData:h}),{app:a,router:e,data:t}}function D(){return g(T)}function _(){let e=o,a;return A(t=>{let n=y(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=import(n)),o&&(e=!1),r},s.NotFound)}o&&x().then(({app:e,router:a,data:t})=>{a.go().then(()=>{u(a.route,t.site),e.mount("#app")})});export{x as createApp};

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Some files were not shown because too many files have changed in this diff Show More