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.

Index

Constructors

Methods

Constructors

cee.ug.QuerySurfacePath.constructor()
QuerySurfacePath(model: RemoteModel): QuerySurfacePath

Parameters

Returns: QuerySurfacePath

Methods

cee.ug.QuerySurfacePath.enableSampling()
enableSampling(numSamples: number?): void

Enable regular sampling along the path. Default off (0)

Parameters

numSamples: number = 100

Returns: void

cee.ug.QuerySurfacePath.executeQuery()
executeQuery(frameIndex: number, pointType: SurfacePathPointType, surfacePathItemArr: SurfacePathItem[], callback: QuerySurfacePathCallback): void

Gets the surface path between the specified path items.

Parameters

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

Returns: void