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[] bmin
    The minimum bounds in world space.
    int borderSize
    The AABB border size used to generate the source data from which the contours were derived.
    float ch
    The height of each cell.
    java.util.List<Contour> conts
    A list of the contours in the set.
    float cs
    The size of each cell.
    int height
    The height of the set.
    float maxError
    The max edge error that this contour set was simplified with.
    int width
    The 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

      public final java.util.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()