# Uses of Enum Class
org.apache.lucene.geo.Component2D.WithinRelation

Packages that use Component2D.WithinRelation
Package
Description
org.apache.lucene.geo
Core geo-spatial types and utilities for handling geographical data and spatial operations in Lucene.

- ## Uses of Component2D.WithinRelation in org.apache.lucene.geo

  Methods in org.apache.lucene.geo that return Component2D.WithinRelation
  Modifier and Type
  Method
  Description
  `static Component2D.WithinRelation`
  Component2D.WithinRelation.`valueOf(String name)`
  Returns the enum constant of this class with the specified name.
  `static Component2D.WithinRelation[]`
  Component2D.WithinRelation.`values()`
  Returns an array containing the constants of this enum class, in the order they are declared.
  `default Component2D.WithinRelation`
  Component2D.`withinLine(double aX, double aY, boolean ab, double bX, double bY)`
  Compute the within relation of this component2D with a triangle *
  `Component2D.WithinRelation`
  Component2D.`withinLine(double minX, double maxX, double minY, double maxY, double aX, double aY, boolean ab, double bX, double bY)`
  Compute the within relation of this component2D with a line *
  `Component2D.WithinRelation`
  Component2D.`withinPoint(double x, double y)`
  Compute the within relation of this component2D with a point *
  `default Component2D.WithinRelation`
  Component2D.`withinTriangle(double aX, double aY, boolean ab, double bX, double bY, boolean bc, double cX, double cY, boolean ca)`
  Compute the within relation of this component2D with a triangle *
  `Component2D.WithinRelation`
  Component2D.`withinTriangle(double minX, double maxX, double minY, double maxY, double aX, double aY, boolean ab, double bX, double bY, boolean bc, double cX, double cY, boolean ca)`
  Compute the within relation of this component2D with a triangle *