Class Contour

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

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

    Fields
    Modifier and Type
    Field
    Description
    int
    The region id of the contour.
    int
    The number of vertices in the raw contour.
    int
    The number of vertices in the simplified contour.
    int
    The area id of the contour.
    int[]
    Raw contour vertex and connection data.
    int[]
    Simplified contour vertex and connection data.
  • 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

    • 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()