Package system.numerics
Class Vector4
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.ValueType
-
- system.numerics.Vector4
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Vector4 extends ValueType
The base .NET class managing System.Numerics.Vector4, System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Numerics.Vector4
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Numericsstatic java.lang.StringclassNameQualified class name: System.Numerics.Vector4static JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Vector4Abs(Vector4 value)static Vector4Add(Vector4 left, Vector4 right)static Vector4cast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoVector4, a cast assert is made to check if types are compatible.static Vector4Clamp(Vector4 value1, Vector4 min, Vector4 max)voidCopyTo(Single[] array)voidCopyTo(Single[] array, int index)static SingleDistance(Vector4 value1, Vector4 value2)static SingleDistanceSquared(Vector4 value1, Vector4 value2)static Vector4Divide(Vector4 left, Vector4 right)static Vector4Divide(Vector4 left, Single divisor)static SingleDot(Vector4 vector1, Vector4 vector2)booleanEquals(Vector4 other)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typestatic Vector4getOne()static Vector4getUnitW()static Vector4getUnitX()static Vector4getUnitY()static Vector4getUnitZ()static Vector4getZero()SingleLength()SingleLengthSquared()static Vector4Lerp(Vector4 value1, Vector4 value2, Single amount)static Vector4Max(Vector4 value1, Vector4 value2)static Vector4Min(Vector4 value1, Vector4 value2)static Vector4Multiply(Vector4 left, Vector4 right)static Vector4Multiply(Vector4 left, Single right)static Vector4Multiply(Single left, Vector4 right)static Vector4Negate(Vector4 value)static Vector4Normalize(Vector4 vector)voidsetJCOInstance(JCObject instance)static Vector4SquareRoot(Vector4 value)static Vector4Subtract(Vector4 left, Vector4 right)java.lang.StringToString(java.lang.String format)java.lang.StringToString(java.lang.String format, IFormatProvider formatProvider)static Vector4Transform(Vector2 position, Matrix4x4 matrix)static Vector4Transform(Vector2 value, Quaternion rotation)static Vector4Transform(Vector3 position, Matrix4x4 matrix)static Vector4Transform(Vector3 value, Quaternion rotation)static Vector4Transform(Vector4 vector, Matrix4x4 matrix)static Vector4Transform(Vector4 value, Quaternion rotation)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Numerics, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Numerics- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Numerics.Vector4- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Vector4
public Vector4(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
Vector4
public Vector4() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
Vector4
public Vector4(Single value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Vector4
public Vector4(Single x, Single y, Single z, Single w) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Vector4
public Vector4(Vector2 value, Single z, Single w) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classValueType- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classValueType- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classValueType- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classValueType
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classValueType- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static Vector4 cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoVector4, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
Vector4instance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Equals
public boolean Equals(Vector4 other) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Distance
public static Single Distance(Vector4 value1, Vector4 value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
DistanceSquared
public static Single DistanceSquared(Vector4 value1, Vector4 value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Dot
public static Single Dot(Vector4 vector1, Vector4 vector2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Length
public Single Length() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
LengthSquared
public Single LengthSquared() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Abs
public static Vector4 Abs(Vector4 value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Add
public static Vector4 Add(Vector4 left, Vector4 right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Clamp
public static Vector4 Clamp(Vector4 value1, Vector4 min, Vector4 max) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Divide
public static Vector4 Divide(Vector4 left, Single divisor) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Divide
public static Vector4 Divide(Vector4 left, Vector4 right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Lerp
public static Vector4 Lerp(Vector4 value1, Vector4 value2, Single amount) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Max
public static Vector4 Max(Vector4 value1, Vector4 value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Min
public static Vector4 Min(Vector4 value1, Vector4 value2) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Multiply
public static Vector4 Multiply(Single left, Vector4 right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Multiply
public static Vector4 Multiply(Vector4 left, Single right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Multiply
public static Vector4 Multiply(Vector4 left, Vector4 right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Negate
public static Vector4 Negate(Vector4 value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Normalize
public static Vector4 Normalize(Vector4 vector) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
SquareRoot
public static Vector4 SquareRoot(Vector4 value) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Subtract
public static Vector4 Subtract(Vector4 left, Vector4 right) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Transform
public static Vector4 Transform(Vector2 position, Matrix4x4 matrix) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Transform
public static Vector4 Transform(Vector2 value, Quaternion rotation) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Transform
public static Vector4 Transform(Vector3 position, Matrix4x4 matrix) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Transform
public static Vector4 Transform(Vector3 value, Quaternion rotation) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Transform
public static Vector4 Transform(Vector4 vector, Matrix4x4 matrix) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
Transform
public static Vector4 Transform(Vector4 value, Quaternion rotation) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
ToString
public java.lang.String ToString(java.lang.String format) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, OutOfMemoryException
-
ToString
public java.lang.String ToString(java.lang.String format, IFormatProvider formatProvider) throws java.lang.Throwable, ArgumentNullException, FormatException, ArgumentOutOfRangeException, TypeInitializationException, InvalidOperationException- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionArgumentOutOfRangeExceptionTypeInitializationExceptionInvalidOperationException
-
CopyTo
public void CopyTo(Single[] array) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceExceptionIndexOutOfRangeException
-
CopyTo
public void CopyTo(Single[] array, int index) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotImplementedException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NullReferenceException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotImplementedExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNullReferenceExceptionFormatException
-
getOne
public static Vector4 getOne() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUnitW
public static Vector4 getUnitW() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUnitX
public static Vector4 getUnitX() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUnitY
public static Vector4 getUnitY() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getUnitZ
public static Vector4 getUnitZ() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getZero
public static Vector4 getZero() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-