PreviousNext
Help > Programming PhotoModeler - Scripting/DDE Interface > Commands > GetMarkedPoint
GetMarkedPoint

Description:

Return a Marked Point’s statistics by Object Point number.

Syntax:

"GetMarkedPoint OpID PhotoID"

where:

OpID is the id number of the object point and PhotoID is the id number of the photograph.

Return:

"1 X Y ResidualX, ResidualY, ResidualLength"

where:

X and Y are the image coordinates (in pixels) of the mark location, ResidualX and ResidualY are the X and Y values of the mark’s residual and ResidualLength is the length of the mark’s residual vector or "0" if this command failed.  Note if the point is not 3D the residual values will be returned as 0.

Failure returns

- incorrect number of parameters

- no project is open.

- the photo number is invalid

- the point number is invalid

- the point is not marked on the photo

Example:

"GetMarkedPoint 1 2"

return "1 815.0 49.0 -0.247 0.944 0.976 "