MaxComponent (SIVector3)
Description
Returns the maximum (signed) component value of this vector. Note that this is not the absolute maximum, but the signed maximum, so that a vector of x=-10.0, y=5.0, z=1.0 will return 5.0, not -10.0.
C# Syntax
Double SIVector3.MaxComponent();Return Value
Floating point value (maximum signed component value of this vector).
Examples
Python Example
# Create 3D vectors. v1 = XSIMath.CreateVector3( -10.0, 5.0, 1.0 ) max = v1.MaxComponent() Application.LogMessage( max ) # Expected result #INFO : 5.0
See Also
|
|
|
|
Autodesk Softimage v7.5