# Class RayCastInput

java.lang.Object
com.codename1.gaming.physics.box2d.collision.RayCastInput

public class RayCastInput extends Object

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `float`
  `maxFraction`
  `final Vec2`
  `p1`
  `final Vec2`
  `p2`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RayCastInput()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `set(RayCastInput rci)`

  ### Methods inherited from class Object

  `clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Field Details

  - ### p1

    public final Vec2 p1

  - ### p2

    public final Vec2 p2

  - ### maxFraction

    public float maxFraction

- ## Constructor Details

  - ### RayCastInput

    public RayCastInput()

- ## Method Details

  - ### set

    public void set(RayCastInput rci)