Assembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 69.0.0.0
Parameters
- startingSpaceName
- Type: System String
The starting space name used to resolve nameToResolve, if nameToResolve is a partially-qualified coordinate space name.
- nameToResolve
- Type: System String
The coordinate space name to resolve. If nameToResolve is a partially-qualified name, this method resolves it using the startingSpaceName value. Otherwise, the startingSpaceName value is ignored and the original nameToResolve is returned.
Return Value
Type: StringnameToResolve as a nonqualified or fully-qualified pathname.
| Exception | Condition |
|---|---|
| CogSpaceTreeInvalidNameSyntaxException | startingSpaceName is not a legal space name. |
| CogSpaceTreeNameNotUniqueException | startingSpaceName is a nonqualified space name and more than one instance of it exists in this tree. |
| CogSpaceTreeNameNotInTreeException | startingSpaceName does not exist in this tree. |
Uses the given startingSpaceName to resolve any ambiguity in nameToResolve, and returns a name suitable for lookup in this tree. Note that a partial name, such as ".", is ambiguous without a specified starting space name.
This method is the only method of the coordinate space tree that can accept partially-qualified space names. It will never return a partially-qualified space name, but it may return a space name that is not unique, or one that does not exist in this space tree.