Modifier and Type | Field and Description |
---|---|
float[] |
array |
Constructor and Description |
---|
SbCylinder()
Default constructor.
|
SbCylinder(float[] components) |
SbCylinder(SbCylinder copyFrom) |
SbCylinder(SbLine a,
float r)
Constructor that takes an axis and radius.
|
Modifier and Type | Method and Description |
---|---|
SbLine |
getAxis()
Return the axis.
|
float |
getRadius()
Return the radius.
|
float[] |
getValue() |
SbVec3f[] |
intersect(SbLine l)
Intersect line and cylinder, returning true if there is an intersection.
|
SbVec3f |
intersectFirst(SbLine l)
Intersect line and cylinder, returning true if there is an intersection.
|
void |
setAxis(SbLine a)
Set the axis.
|
void |
setRadius(float r)
Set the radius.
|
SbCylinder |
setValue(float[] components) |
SbCylinder |
setValue(float[] components,
int startIndex) |
void |
setValue(SbCylinder copyFrom) |
void |
setValue(SbLine a,
float r)
Change the axis and radius.
|
static SbCylinder[] |
toArray(long nativeArray,
long length) |
public SbCylinder(float[] components)
public SbCylinder(SbCylinder copyFrom)
public SbCylinder(SbLine a, float r)
public SbCylinder()
public SbCylinder setValue(float[] components)
public float[] getValue()
public SbCylinder setValue(float[] components, int startIndex)
public void setValue(SbCylinder copyFrom)
public void setRadius(float r)
public static SbCylinder[] toArray(long nativeArray, long length)
public SbLine getAxis()
public void setAxis(SbLine a)
public void setValue(SbLine a, float r)
public SbVec3f intersectFirst(SbLine l)
public SbVec3f[] intersect(SbLine l)
public float getRadius()
Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com