Package toxi.geom
Class YAxisCylinder
java.lang.Object
toxi.geom.AxisAlignedCylinder
toxi.geom.YAxisCylinder
- All Implemented Interfaces:
Shape3D
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the given point is inside the cylinder.Methods inherited from class toxi.geom.AxisAlignedCylinder
getLength, getPosition, getRadius, setLength, setPosition, setRadius, toMesh, toMesh, toMesh
-
Constructor Details
-
YAxisCylinder
-
-
Method Details
-
containsPoint
Description copied from class:AxisAlignedCylinder
Checks if the given point is inside the cylinder.- Specified by:
containsPoint
in interfaceShape3D
- Specified by:
containsPoint
in classAxisAlignedCylinder
- Returns:
- true, if inside
-
getMajorAxis
- Specified by:
getMajorAxis
in classAxisAlignedCylinder
- Returns:
- the cylinder's orientation axis
-