SbViewportRegionNormalize Method |
Compute the normalized coordinates of the specified position, relative to
this viewport region.
Namespace: OIV.InventorAssembly: OIV.Inventor.SbLinear (in OIV.Inventor.SbLinear.dll) Version: 2025.1.0.Release.bbf67b7ce81225a791aa69eb415ebddead35829d
Syntaxpublic SbVec2f Normalize(
SbVec2s position
)
Public Function Normalize (
position As SbVec2s
) As SbVec2f
public:
SbVec2f Normalize(
SbVec2s position
)
member Normalize :
position : SbVec2s -> SbVec2f
Parameters
- position
- Type: OIV.InventorSbVec2s
position in pixel coordinates
Return Value
Type:
SbVec2fposition in normalized coordinates (0 <= x,y <= 1).
See Also