IMcImageSetSourceGetPhysicalLocation Method
|
|
The physical location of the source in the set's X/Y coordinate space.
Namespace:
MediaCy.IQL.Sets
Assembly:
MediaCy.IQL.Sets (in MediaCy.IQL.Sets.dll) Version: 10.0.6912.0
SyntaxSub GetPhysicalLocation (
<OutAttribute> ByRef pPosX As Double,
<OutAttribute> ByRef pPosY As Double
)
Parameters
- pPosX
- Type: SystemDouble
- pPosY
- Type: SystemDouble
RemarksThe coordinates of the physical location of this source within image set's X,Y
coordinate space are double-precision values given in units of the
McImageSet.SpatialCalibration if that has been assigned or in pixels otherwise.
If SetPysicalLocation has been called to set a local physical location, then these will
be the X,Y values returned, but if the local physical location has not been set, then
the Frame.XPosition/YPosition properties are returned, if they are valid. If neither
the local or Frame X,Y postion is valid, then 0,0 will be returned and S_FALSE rather
than S_OK will be the result of the access operation (neither result is an error state).
The WhereValidPhysicalLocation property can be used to find which physical X,Y location
properties are currently valid.
See Also