Package toxi.geom
Class ZAxisCylinder
java.lang.Object
toxi.geom.AxisAlignedCylinder
toxi.geom.ZAxisCylinder
- 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
-
ZAxisCylinder
-
-
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
-