Class Contour

java.lang.Object
org.recast4j.recast.Contour

public class Contour
extends java.lang.Object
Represents a simple, non-overlapping contour in field space.
  • Field Summary

    Fields
    Modifier and Type Field Description
    int area
    The region id of the contour.
    int nrverts
    The number of vertices in the raw contour.
    int nverts
    The number of vertices in the simplified contour.
    int reg
    The area id of the contour.
    int[] rverts
    Raw contour vertex and connection data.
    int[] verts
    Simplified contour vertex and connection data.
  • Constructor Summary

    Constructors
    Constructor Description
    Contour()  
  • Method Summary

    Methods inherited from class java.lang.Object

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

    • verts

      public int[] verts
      Simplified contour vertex and connection data. [Size: 4 * #nverts]
    • nverts

      public int nverts
      The number of vertices in the simplified contour.
    • rverts

      public int[] rverts
      Raw contour vertex and connection data. [Size: 4 * #nrverts]
    • nrverts

      public int nrverts
      The number of vertices in the raw contour.
    • area

      public int area
      The region id of the contour.
    • reg

      public int reg
      The area id of the contour.
  • Constructor Details

    • Contour

      public Contour()