public class Quaternion extends ValueType
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Windows.Media.Media3D.Quaternion
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: PresentationCore, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
|
static java.lang.String |
assemblyShortName
Assembly name: PresentationCore
|
static java.lang.String |
className
Qualified class name: System.Windows.Media.Media3D.Quaternion
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
Quaternion() |
Quaternion(double x,
double y,
double z,
double w)
Initializes a new instance by invoking the .NET constructor.
|
Quaternion(java.lang.Object instance)
Internal constructor.
|
Quaternion(Vector3D axisOfRotation,
double angleInDegrees)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static Quaternion |
Add(Quaternion left,
Quaternion right)
Invokes the .NET member Add.
|
static Quaternion |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into Quaternion, a cast assert is made to check if types are compatible. |
void |
Conjugate()
Invokes the .NET member Conjugate.
|
boolean |
Equals(Quaternion value)
Invokes the .NET member Equals.
|
static boolean |
Equals(Quaternion quaternion1,
Quaternion quaternion2)
Invokes the .NET member Equals.
|
double |
getAngle()
Gets the value of the .NET property Angle.
|
Vector3D |
getAxis()
Gets the value of the .NET property Axis.
|
static Quaternion |
getIdentity()
Gets the value of the .NET property Identity.
|
boolean |
getIsIdentity()
Gets the value of the .NET property IsIdentity.
|
boolean |
getIsNormalized()
Gets the value of the .NET property IsNormalized.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
double |
getW()
Gets the value of the .NET property W.
|
double |
getX()
Gets the value of the .NET property X.
|
double |
getY()
Gets the value of the .NET property Y.
|
double |
getZ()
Gets the value of the .NET property Z.
|
void |
Invert()
Invokes the .NET member Invert.
|
static Quaternion |
Multiply(Quaternion left,
Quaternion right)
Invokes the .NET member Multiply.
|
void |
Normalize()
Invokes the .NET member Normalize.
|
static Quaternion |
Parse(java.lang.String source)
Invokes the .NET member Parse.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
setW(double W)
Sets the value of the .NET property W.
|
void |
setX(double X)
Sets the value of the .NET property X.
|
void |
setY(double Y)
Sets the value of the .NET property Y.
|
void |
setZ(double Z)
Sets the value of the .NET property Z.
|
static Quaternion |
Slerp(Quaternion from,
Quaternion to,
double t)
Invokes the .NET member Slerp.
|
static Quaternion |
Slerp(Quaternion from,
Quaternion to,
double t,
boolean useShortestPath)
Invokes the .NET member Slerp.
|
static Quaternion |
Subtract(Quaternion left,
Quaternion right)
Invokes the .NET member Subtract.
|
java.lang.String |
ToString(IFormatProvider provider)
Invokes the .NET member ToString.
|
public static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public Quaternion()
throws java.lang.Throwable
java.lang.Throwablepublic Quaternion(double x,
double y,
double z,
double w)
throws java.lang.Throwable
x - the argument of type doubley - the argument of type doublez - the argument of type doublew - the argument of type doublejava.lang.Throwable - if the .NET constructor failspublic Quaternion(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic Quaternion(Vector3D axisOfRotation, double angleInDegrees) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, CultureNotFoundException, ObjectDisposedException
axisOfRotation - the argument of type Vector3DangleInDegrees - the argument of type doublejava.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itpublic static Quaternion Add(Quaternion left, Quaternion right) throws java.lang.Throwable
left - the argument of type Quaternionright - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Quaternion cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into Quaternion, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedQuaternion instancejava.lang.Throwable - in case of error during cast operationpublic void Conjugate()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean Equals(Quaternion value) throws java.lang.Throwable
value - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static boolean Equals(Quaternion quaternion1, Quaternion quaternion2) throws java.lang.Throwable
quaternion1 - the argument of type Quaternionquaternion2 - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getAngle()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic Vector3D getAxis() throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Quaternion getIdentity() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsIdentity()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic boolean getIsNormalized()
throws java.lang.Throwable,
NotSupportedException,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class ValueTypepublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class ValueTypepublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class ValueTypenull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class ValueTypepublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class ValueTypepublic double getW()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getX()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getY()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic double getZ()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Invert()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Quaternion Multiply(Quaternion left, Quaternion right) throws java.lang.Throwable
left - the argument of type Quaternionright - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void Normalize()
throws java.lang.Throwable,
NotSupportedException,
ArgumentException,
PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Quaternion Parse(java.lang.String source) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, ArgumentNullException, ArgumentOutOfRangeException, InvalidOperationException, ObjectDisposedException, FormatException
source - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itFormatException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class ValueTypeinstance - the new underlying objectpublic void setW(double W)
throws java.lang.Throwable
W - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setX(double X)
throws java.lang.Throwable
X - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setY(double Y)
throws java.lang.Throwable
Y - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setZ(double Z)
throws java.lang.Throwable
Z - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic static Quaternion Slerp(Quaternion from, Quaternion to, double t) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
from - the argument of type Quaternionto - the argument of type Quaterniont - the argument of type doublejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Quaternion Slerp(Quaternion from, Quaternion to, double t, boolean useShortestPath) throws java.lang.Throwable, NotSupportedException, PlatformNotSupportedException
from - the argument of type Quaternionto - the argument of type Quaterniont - the argument of type doubleuseShortestPath - the argument of type booleanjava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static Quaternion Subtract(Quaternion left, Quaternion right) throws java.lang.Throwable
left - the argument of type Quaternionright - the argument of type Quaternionjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String ToString(IFormatProvider provider) throws java.lang.Throwable, ArgumentException, PlatformNotSupportedException, OutOfMemoryException, InvalidOperationException, ArgumentNullException, ArgumentOutOfRangeException, FormatException
provider - the argument of type IFormatProviderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentNullException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises it