Cog3DRectangle GetOriginVertexXVectorYVector Method Cognex VisionPro 9.24
Gets the rectangle's origin vertex, extent X vector and extent Y vector.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 91.0.0.0
Syntax

public void GetOriginVertexXVectorYVector(
	out Cog3DVect3 originVertex,
	out Cog3DVect3 xVector,
	out Cog3DVect3 yVector
)

Parameters

originVertex
Type: Cognex.VisionPro3D Cog3DVect3 
The output argument keeping the origin vertex of the rectangle.
xVector
Type: Cognex.VisionPro3D Cog3DVect3 
The output argument keeping the extent X vector of the rectangle.
yVector
Type: Cognex.VisionPro3D Cog3DVect3 
The output argument keeping the extent Y vector of the rectangle.
Exceptions

ExceptionCondition
Cog3DException If the rectangle is degenerate.
Remarks

ShapeFromScaledUnitRectangle will map point cc3Dvect(0,0,0) to originVertex, map vector (Size.X,0,0) to (originVertex + xVector ), and map vector cc3DVect(0,Size.Y,0) to (originVertex + yVector ).
See Also