java.lang.Object
com.marginallyclever.convenience.Cylinder
All Implemented Interfaces:
BoundingVolume

public class Cylinder extends Object implements BoundingVolume
A cylinder with a radius and two end points. Makes a pill shape.
  • 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()