QuerySurfacePath
-
class
cee.ug.QuerySurfacePath() Query to get the path on the surface between the given points optionally with a sampled scalar result
SurfacePathQuery will also produce a surface path for points on a cutting plane. All points need to be one the same cutting plane.
Mixing hits on parts AND cutting plane in the same query is not supported.
This is useful for creating length plot of a scalar vs. length on the surface of the model.
Constructors
-
cee.ug.QuerySurfacePath.constructor() - QuerySurfacePath(model:
RemoteModel):QuerySurfacePathParameters
model:RemoteModelReturns:
QuerySurfacePath
Methods
-
cee.ug.QuerySurfacePath.enableSampling() - enableSampling(numSamples: number?): void
Enable regular sampling along the path. Default off (0)
Parameters
numSamples: number = 100Returns: void
-
cee.ug.QuerySurfacePath.executeQuery() - executeQuery(frameIndex: number, pointType:
SurfacePathPointType, surfacePathItemArr:SurfacePathItem[], callback:QuerySurfacePathCallback): voidGets the surface path between the specified path items.
Parameters
frameIndex: number
The zero based index of the frame to query the path frompointType:
SurfacePathPointTypeType of points in thesurfacePathItemArr:
SurfacePathItem[]Array with SurfacePathItem describing the points defining the pathcallback:
QuerySurfacePathCallbackReturns: void