Package rope.mesh

Class R_Segment

java.lang.Object
rope.mesh.R_Segment

public class R_Segment extends Object
  • Constructor Details

    • R_Segment

      public R_Segment()
    • R_Segment

      public R_Segment(vec start, vec stop)
  • Method Details

    • set_start

      public vec3 set_start(float x, float y, float z)
    • set_start

      public vec3 set_start(float x, float y)
    • set_start

      public vec3 set_start(float x)
    • set_start

      public vec3 set_start(vec start)
    • get_start

      public vec3 get_start()
    • set_stop

      public vec3 set_stop(float x, float y, float z)
    • set_stop

      public vec3 set_stop(float x, float y)
    • set_stop

      public vec3 set_stop(float x)
    • set_stop

      public vec3 set_stop(vec stop)
    • get_stop

      public vec3 get_stop()
    • get_angle

      public float get_angle()
    • get_length

      public float get_length()
    • set_capacity

      public void set_capacity(int capacity)
    • get_capacity

      public int get_capacity()
    • set_direction

      public void set_direction(boolean direction)
    • get_direction

      public boolean get_direction()
    • meet_at

      public vec2 meet_at(R_Segment target)
    • meet_is

      public boolean meet_is(R_Segment target)
    • copy

      public R_Segment copy()
      copy() return all the component of vec
      Returns:
      Vec2
    • toString

      public String toString()
      Overrides:
      toString in class Object