AnyCAD Rapid API 2023
Help you to create a better world!
Matplot Class Reference

Public Member Functions

 Matplot (String title)
 
String GetTitle ()
 
void SetTitle (String 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)
 

Detailed Description

<> Matplot.

Member Function Documentation

◆ AddMesh()

boolean Matplot.AddMesh ( long  xcount,
long  ycount,
PlotSurfaceFunctor  func,
boolean  showEdge 
)

Create mesh with xcount X ycount

Parameters
xcountthe X dimension >= 2
ycountthe y dimension >= 2
functhe callback to provide the vertex data.
showEdgeif build the edges
Returns
true if successflly.