Circle.CircleSlice, Circle.CircleStream| Modifier and Type | Field and Description |
|---|---|
protected double |
endAngle |
protected double |
startAngle
Must be in radians
|
heightRatio, innerRadius, radius, resolution| Constructor and Description |
|---|
CircleSlice(Vector3 direction,
double radius,
double innerRadius,
double heightRatio,
double startAngle,
double endAngle)
See ShapeHelper for alternative construction methods
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkToleranceBounds(Vector3 center,
Box bounds) |
Circle.CircleSlice |
copy() |
boolean |
equals(java.lang.Object other) |
double |
getAngleEnd() |
double |
getAngleStart() |
Circle.CircleSlice |
getScaled(double scale) |
Circle.CircleSlice |
getScaled(double scale,
double scaleInner) |
Circle.CircleSlice |
getScaled(double scale,
double scaleInner,
double scaleAngle) |
Circle.CircleSlice |
getScaled(Vector2 scale) |
Circle.CircleSlice |
getScaled(Vector3 scale) |
getAngleClamped, getAngleDif, getBoundedX, getBoundedXY, getBoundedXY, getBoundedY, getCenter, getCenter, getDepth, getHeight, getOutlineSupplier, getVectorSupplier, getWidth, isInsideRelative, random2D, random3D, slice, slice, withRatio, withRatiogetAs2DArray, getBoundedZ, getDirectionAngles, getRelativeCoordinate, getRelativeCoordinate, getWorldCoordinate, getWorldCoordinate, isInside, isInside, makeFuzzBall, sameDirectionclone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBounded, getBounded, getBoundedX, getBoundedXZ, getBoundedXZ, getBoundedY, getBoundedYZ, getBoundedYZ, getBoundedZ, makeFuzzBall, makeFuzzBall, makeFuzzBallprotected final double startAngle
protected final double endAngle
public CircleSlice(Vector3 direction, double radius, double innerRadius, double heightRatio, double startAngle, double endAngle)
public boolean checkToleranceBounds(Vector3 center, Box bounds)
checkToleranceBounds in interface ShapecheckToleranceBounds in class Circlepublic Circle.CircleSlice copy()
public double getAngleStart()
getAngleStart in class Circlepublic double getAngleEnd()
getAngleEnd in class Circlepublic Circle.CircleSlice getScaled(double scale)
public Circle.CircleSlice getScaled(Vector2 scale)
public Circle.CircleSlice getScaled(double scale, double scaleInner)
public Circle.CircleSlice getScaled(Vector3 scale)
public Circle.CircleSlice getScaled(double scale, double scaleInner, double scaleAngle)