Search
Preparing search index...
The search index is not available
OpenCascade.js - v2.0.0-beta.533428a
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
OpenCascade.js - v2.0.0-beta.533428a
gp_Quaternion_2
Class gp_Quaternion_2
Hierarchy
gp_Quaternion
gp_Quaternion_2
Index
Constructors
constructor
Methods
Add
Added
Dot
Get
Euler
Angles
Get
Matrix
Get
Rotation
Angle
Get
Vector
And
Angle
Invert
Inverted
Is
Equal
Multiplied
Multiply_
1
Multiply_
2
Negated
Norm
Normalize
Normalized
Reverse
Reversed
Scale
Scaled
Set
Euler
Angles
Set
Ident
Set
Matrix
Set
Rotation_
1
Set
Rotation_
2
Set
Vector
And
Angle
Set_
1
Set_
2
Square
Norm
Stabilize
Length
Subtract
Subtracted
W
X
Y
Z
delete
Constructors
constructor
new gp_
Quaternion_
2
(
theX
:
number
, theY
:
number
, theZ
:
number
, theW
:
number
)
:
gp_Quaternion_2
Parameters
theX:
number
theY:
number
theZ:
number
theW:
number
Returns
gp_Quaternion_2
Methods
Add
Add
(
theOther
:
gp_Quaternion
)
:
void
Parameters
theOther:
gp_Quaternion
Returns
void
Added
Added
(
theOther
:
gp_Quaternion
)
:
gp_Quaternion
Parameters
theOther:
gp_Quaternion
Returns
gp_Quaternion
Dot
Dot
(
theOther
:
gp_Quaternion
)
:
number
Parameters
theOther:
gp_Quaternion
Returns
number
Get
Euler
Angles
Get
Euler
Angles
(
theOrder
:
gp_EulerSequence
, theAlpha
:
number
, theBeta
:
number
, theGamma
:
number
)
:
void
Parameters
theOrder:
gp_EulerSequence
theAlpha:
number
theBeta:
number
theGamma:
number
Returns
void
Get
Matrix
Get
Matrix
(
)
:
gp_Mat
Returns
gp_Mat
Get
Rotation
Angle
Get
Rotation
Angle
(
)
:
number
Returns
number
Get
Vector
And
Angle
Get
Vector
And
Angle
(
theAxis
:
gp_Vec
, theAngle
:
number
)
:
void
Parameters
theAxis:
gp_Vec
theAngle:
number
Returns
void
Invert
Invert
(
)
:
void
Returns
void
Inverted
Inverted
(
)
:
gp_Quaternion
Returns
gp_Quaternion
Is
Equal
Is
Equal
(
theOther
:
gp_Quaternion
)
:
boolean
Parameters
theOther:
gp_Quaternion
Returns
boolean
Multiplied
Multiplied
(
theOther
:
gp_Quaternion
)
:
gp_Quaternion
Parameters
theOther:
gp_Quaternion
Returns
gp_Quaternion
Multiply_
1
Multiply_
1
(
theOther
:
gp_Quaternion
)
:
void
Parameters
theOther:
gp_Quaternion
Returns
void
Multiply_
2
Multiply_
2
(
theVec
:
gp_Vec
)
:
gp_Vec
Parameters
theVec:
gp_Vec
Returns
gp_Vec
Negated
Negated
(
)
:
gp_Quaternion
Returns
gp_Quaternion
Norm
Norm
(
)
:
number
Returns
number
Normalize
Normalize
(
)
:
void
Returns
void
Normalized
Normalized
(
)
:
gp_Quaternion
Returns
gp_Quaternion
Reverse
Reverse
(
)
:
void
Returns
void
Reversed
Reversed
(
)
:
gp_Quaternion
Returns
gp_Quaternion
Scale
Scale
(
theScale
:
number
)
:
void
Parameters
theScale:
number
Returns
void
Scaled
Scaled
(
theScale
:
number
)
:
gp_Quaternion
Parameters
theScale:
number
Returns
gp_Quaternion
Set
Euler
Angles
Set
Euler
Angles
(
theOrder
:
gp_EulerSequence
, theAlpha
:
number
, theBeta
:
number
, theGamma
:
number
)
:
void
Parameters
theOrder:
gp_EulerSequence
theAlpha:
number
theBeta:
number
theGamma:
number
Returns
void
Set
Ident
Set
Ident
(
)
:
void
Returns
void
Set
Matrix
Set
Matrix
(
theMat
:
gp_Mat
)
:
void
Parameters
theMat:
gp_Mat
Returns
void
Set
Rotation_
1
Set
Rotation_
1
(
theVecFrom
:
gp_Vec
, theVecTo
:
gp_Vec
)
:
void
Parameters
theVecFrom:
gp_Vec
theVecTo:
gp_Vec
Returns
void
Set
Rotation_
2
Set
Rotation_
2
(
theVecFrom
:
gp_Vec
, theVecTo
:
gp_Vec
, theHelpCrossVec
:
gp_Vec
)
:
void
Parameters
theVecFrom:
gp_Vec
theVecTo:
gp_Vec
theHelpCrossVec:
gp_Vec
Returns
void
Set
Vector
And
Angle
Set
Vector
And
Angle
(
theAxis
:
gp_Vec
, theAngle
:
number
)
:
void
Parameters
theAxis:
gp_Vec
theAngle:
number
Returns
void
Set_
1
Set_
1
(
theX
:
number
, theY
:
number
, theZ
:
number
, theW
:
number
)
:
void
Parameters
theX:
number
theY:
number
theZ:
number
theW:
number
Returns
void
Set_
2
Set_
2
(
theQuaternion
:
gp_Quaternion
)
:
void
Parameters
theQuaternion:
gp_Quaternion
Returns
void
Square
Norm
Square
Norm
(
)
:
number
Returns
number
Stabilize
Length
Stabilize
Length
(
)
:
void
Returns
void
Subtract
Subtract
(
theOther
:
gp_Quaternion
)
:
void
Parameters
theOther:
gp_Quaternion
Returns
void
Subtracted
Subtracted
(
theOther
:
gp_Quaternion
)
:
gp_Quaternion
Parameters
theOther:
gp_Quaternion
Returns
gp_Quaternion
W
W
(
)
:
number
Returns
number
X
X
(
)
:
number
Returns
number
Y
Y
(
)
:
number
Returns
number
Z
Z
(
)
:
number
Returns
number
delete
delete
(
)
:
void
Returns
void
Exports
gp_
Quaternion_
2
constructor
Add
Added
Dot
Get
Euler
Angles
Get
Matrix
Get
Rotation
Angle
Get
Vector
And
Angle
Invert
Inverted
Is
Equal
Multiplied
Multiply_
1
Multiply_
2
Negated
Norm
Normalize
Normalized
Reverse
Reversed
Scale
Scaled
Set
Euler
Angles
Set
Ident
Set
Matrix
Set
Rotation_
1
Set
Rotation_
2
Set
Vector
And
Angle
Set_
1
Set_
2
Square
Norm
Stabilize
Length
Subtract
Subtracted
W
X
Y
Z
delete
Generated using
TypeDoc