AnyCAD Rapid API 2025
Help you to create a better world!
|
Public 成员函数 | |
Matplot (String title) | |
String | GetTitle () |
void | SetTitle (String val) |
boolean | GetShowLine () |
void | SetShowLine (boolean val) |
MaterialInstance | GetMaterial () |
ColorLookupTable | GetColorTable () |
boolean | AddCurve (PlotRange range, PlotCurveFunctor func, MaterialInstance clr) |
boolean | AddSurface (PlotRange uRange, PlotRange vRange, PlotSurfaceFunctor func, boolean showEdge) |
boolean | AddMesh (long xcount, long ycount, PlotSurfaceFunctor func, boolean showEdge) |
GroupSceneNode | Build (ColorMapKeyword colorMap, PlotRange rangeZ) |
GroupSceneNode | Build (ColorMapKeyword colorMap) |
BufferGeometry | GetSurface (long idx) |
<> Matplot.
boolean Matplot.AddCurve | ( | PlotRange | range, |
PlotCurveFunctor | func, | ||
MaterialInstance | clr ) |
创建曲面
range | 范围 |
func | 方法 |
boolean Matplot.AddMesh | ( | long | xcount, |
long | ycount, | ||
PlotSurfaceFunctor | func, | ||
boolean | showEdge ) |
Create mesh with xcount X ycount
xcount | the X dimension >= 2 |
ycount | the y dimension >= 2 |
func | the callback to provide the vertex data. |
showEdge | if build the edges |
boolean Matplot.AddSurface | ( | PlotRange | uRange, |
PlotRange | vRange, | ||
PlotSurfaceFunctor | func, | ||
boolean | showEdge ) |
创建曲面
uRange | u范围 |
vRange | v范围 |
func | 方法 |
showEdge | 是否显示边线 |
GroupSceneNode Matplot.Build | ( | ColorMapKeyword | colorMap | ) |
构建
colorMap | 调色版 |
GroupSceneNode Matplot.Build | ( | ColorMapKeyword | colorMap, |
PlotRange | rangeZ ) |
构建
colorMap | 调色版 |
rangeZ | 高度范围 |
BufferGeometry Matplot.GetSurface | ( | long | idx | ) |
获取曲面
idx | 索引 |