java.lang.Object
com.marginallyclever.convenience.Cylinder
- All Implemented Interfaces:
BoundingVolume
A cylinder with a radius and two end points. Makes a pill shape.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionjavax.vecmath.Vector3dGetF()javax.vecmath.Vector3dGetN()javax.vecmath.Vector3dGetP1()javax.vecmath.Vector3dGetP2()javax.vecmath.Vector3dGetR()floatvoidSetP1(javax.vecmath.Vector3d src) voidSetP2(javax.vecmath.Vector3d src) voidsetRadius(float r) void
-
Constructor Details
-
Cylinder
public Cylinder()
-
-
Method Details
-
SetP1
public void SetP1(javax.vecmath.Vector3d src) -
SetP2
public void SetP2(javax.vecmath.Vector3d src) -
setRadius
public void setRadius(float r) -
getRadius
public float getRadius() -
GetP1
public javax.vecmath.Vector3d GetP1() -
GetP2
public javax.vecmath.Vector3d GetP2() -
GetN
public javax.vecmath.Vector3d GetN() -
GetF
public javax.vecmath.Vector3d GetF() -
GetR
public javax.vecmath.Vector3d GetR() -
UpdateVectors
public void UpdateVectors()
-