Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## toxi.geom
Class YAxisCylinder

    java.lang.Object
      toxi.geom.AxisAlignedCylinder
          toxi.geom.YAxisCylinder

All Implemented Interfaces:
  Shape3D

    public class YAxisCylinder

extends AxisAlignedCylinder

Constructor Summary
`YAxisCylinder(ReadonlyVec3D pos, float radius, float length)`

Method Summary
`boolean` | `containsPoint(ReadonlyVec3D p)` Checks if the given point is inside the cylinder.
`Vec3D.Axis` | `getMajorAxis()`

Methods inherited from class toxi.geom.AxisAlignedCylinder
`getLength, getPosition, getRadius, setLength, setPosition, setRadius, toMesh, toMesh, toMesh`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### YAxisCylinder

    public YAxisCylinder(ReadonlyVec3D pos,
                         float radius,
                         float length)

Method Detail

### containsPoint

    public boolean containsPoint(ReadonlyVec3D p)

  Description copied from class: `AxisAlignedCylinder`
  Checks if the given point is inside the cylinder.

  Specified by:
    `containsPoint` in interface `Shape3D`
  Specified by:
    `containsPoint` in class `AxisAlignedCylinder`
  Returns:
    true, if inside

### getMajorAxis

    public Vec3D.Axis getMajorAxis()

  Specified by:
    `getMajorAxis` in class `AxisAlignedCylinder`
  Returns:
    the cylinder's orientation axis

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD