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
Methods
Constructors
-
QuerySurfacePath.
constructor
(model) Arguments: - model (
RemoteModel
) – None
Return type: QuerySurfacePath
- model (
Methods
enableSampling
-
QuerySurfacePath.
enableSampling
(numSamples) Arguments: - numSamples (
number
) – None
Enable regular sampling along the path. Default off (0)
Return type: void - numSamples (
executeQuery
-
QuerySurfacePath.
executeQuery
(frameIndex, pointType, surfacePathItemArr, callback) Arguments: - frameIndex (
number
) – The zero based index of the frame to query the path from - pointType (
SurfacePathPointType
) – Type of points in the - surfacePathItemArr (
[SurfacePathItem]
) – Array with SurfacePathItem describing the points defining the path - callback (
QuerySurfacePathCallback
) – None
Gets the surface path between the specified path items.
Return type: void - frameIndex (