Class ContourSet

java.lang.Object
org.recast4j.recast.ContourSet

public class ContourSet extends Object
Represents a group of related contours.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final float[]
    The minimum bounds in world space.
    int
    The AABB border size used to generate the source data from which the contours were derived.
    float
    The height of each cell.
    final List<Contour>
    A list of the contours in the set.
    float
    The size of each cell.
    int
    The height of the set.
    float
    The max edge error that this contour set was simplified with.
    int
    The width of the set.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • conts

      public final List<Contour> conts
      A list of the contours in the set.
    • bmin

      public final float[] bmin
      The minimum bounds in world space. [(x, y, z)]
    • cs

      public float cs
      The size of each cell. (On the xz-plane.)
    • ch

      public float ch
      The height of each cell. (The minimum increment along the y-axis.)
    • width

      public int width
      The width of the set. (Along the x-axis in cell units.)
    • height

      public int height
      The height of the set. (Along the z-axis in cell units.)
    • borderSize

      public int borderSize
      The AABB border size used to generate the source data from which the contours were derived.
    • maxError

      public float maxError
      The max edge error that this contour set was simplified with.
  • Constructor Details

    • ContourSet

      public ContourSet()