public class SbVec3s extends SbBasic
See also:
SbRotation
, SbRotationd
, SbVec2d
, SbVec2f
, SbVec2i32
, SbVec2s
, SbVec3d
, SbVec3f
, SbVec3i32
, SbVec4b
, SbVec4d
, SbVec4f
, SbVec4i32
, SbVec4s
, SbVec4ub
, SbVec4ui32
, SbVec4us
Modifier and Type | Field and Description |
---|---|
short[] |
array |
Constructor and Description |
---|
SbVec3s() |
SbVec3s(SbVec3i32 v)
Constructor given an
SbVec3i32 (adapter). |
SbVec3s(SbVec3s copyFrom) |
SbVec3s(short[] components) |
SbVec3s(short c0,
short c1,
short c2) |
Modifier and Type | Method and Description |
---|---|
void |
add(SbVec3s u)
Component-wise vector addition operator.
|
void |
divide(double d)
Component-wise scalar division operator.
|
void |
divide(int d)
Component-wise scalar division operator.
|
int |
dot(SbVec3s v)
Returns dot (inner) product of vector and another vector.
|
boolean |
equals(java.lang.Object obj) |
short[] |
getValue() |
short |
getValueAt(int index) |
short |
getX() |
short |
getY() |
short |
getZ() |
SbVec3s |
minus(SbVec3s v2)
Component-wise binary vector subtraction operator.
|
void |
multiply(double d)
Component-wise scalar multiplication operator.
|
void |
multiply(int d)
Component-wise scalar multiplication operator.
|
void |
negate()
Negates each component of vector in place.
|
SbVec3s |
over(double d)
Component-wise binary scalar division operator.
|
SbVec3s |
over(int d)
Component-wise binary scalar division operator.
|
SbVec3s |
plus(SbVec3s v2)
Component-wise binary vector addition operator.
|
void |
setValue(SbVec3s copyFrom) |
SbVec3s |
setValue(short[] components) |
SbVec3s |
setValue(short[] components,
int startIndex) |
SbVec3s |
setValue(short c0,
short c1,
short c2) |
void |
setValueAt(int index,
short value) |
void |
setX(short value) |
void |
setY(short value) |
void |
setZ(short value) |
void |
substract(SbVec3s u)
Component-wise vector subtraction operator.
|
SbVec3s |
times(double d)
Component-wise binary scalar multiplication operator.
|
SbVec3s |
times(int d)
Component-wise binary scalar multiplication operator.
|
static SbVec3s[] |
toArray(long nativeArray,
long length) |
public SbVec3s()
public SbVec3s(short c0, short c1, short c2)
public SbVec3s(short[] components)
public SbVec3s(SbVec3s copyFrom)
public SbVec3s setValue(short[] components, int startIndex)
public void setValueAt(int index, short value)
public void setX(short value)
public void setZ(short value)
public void setY(short value)
public SbVec3s setValue(short c0, short c1, short c2)
public void setValue(SbVec3s copyFrom)
public short[] getValue()
public short getValueAt(int index)
public SbVec3s setValue(short[] components)
public short getZ()
public short getX()
public short getY()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public SbVec3s over(double d)
public static SbVec3s[] toArray(long nativeArray, long length)
public void negate()
public void multiply(int d)
public int dot(SbVec3s v)
public SbVec3s times(int d)
public SbVec3s over(int d)
public SbVec3s times(double d)
public void substract(SbVec3s u)
public void divide(int d)
public void multiply(double d)
public void add(SbVec3s u)
public void divide(double d)
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com