Package org.recast4j.recast
Class ContourSet
java.lang.Object
org.recast4j.recast.ContourSet
public class ContourSet
extends java.lang.Object
Represents a group of related contours.
-
Field Summary
Fields Modifier and Type Field Description float[]bminThe minimum bounds in world space.intborderSizeThe AABB border size used to generate the source data from which the contours were derived.floatchThe height of each cell.java.util.List<Contour>contsA list of the contours in the set.floatcsThe size of each cell.intheightThe height of the set.floatmaxErrorThe max edge error that this contour set was simplified with.intwidthThe width of the set. -
Constructor Summary
Constructors Constructor Description ContourSet() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
conts
A list of the contours in the set. -
bmin
public final float[] bminThe minimum bounds in world space. [(x, y, z)] -
cs
public float csThe size of each cell. (On the xz-plane.) -
ch
public float chThe height of each cell. (The minimum increment along the y-axis.) -
width
public int widthThe width of the set. (Along the x-axis in cell units.) -
height
public int heightThe height of the set. (Along the z-axis in cell units.) -
borderSize
public int borderSizeThe AABB border size used to generate the source data from which the contours were derived. -
maxError
public float maxErrorThe max edge error that this contour set was simplified with.
-
-
Constructor Details
-
ContourSet
public ContourSet()
-