|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use LineSegment | |
|---|---|
| gizmoball.board | |
| gizmoball.shape | |
| physics | |
| Uses of LineSegment in gizmoball.board |
|---|
| Methods in gizmoball.board with parameters of type LineSegment | |
|---|---|
double |
ExtenderGizmo.getExpansionSpeed(LineSegment ls)
returns the speed in which the side is expanding, ie the speed at which it changes its length. |
Vect |
ExtenderGizmo.getVelocity(LineSegment ls)
returns the velocity of one of the sides of the extender. |
| Uses of LineSegment in gizmoball.shape |
|---|
| Methods in gizmoball.shape that return types with arguments of type LineSegment | |
|---|---|
java.util.List<LineSegment> |
UnionShape.getLineSegments()
returns list of LineSegments constituting UnionShape |
java.util.List<LineSegment> |
Shape.getLineSegments()
This method should return a list of LineSegment objects used to compose this shape. |
java.util.List<LineSegment> |
Polygon.getLineSegments()
Returns a list of LineSegment objects present in polygon, consisting of edges in polygon |
java.util.List<LineSegment> |
Circle09.getLineSegments()
returns a list of edges in the object, consisting of the empty list |
| Methods in gizmoball.shape with parameters of type LineSegment | |
|---|---|
static boolean |
ShapeGeometry.lineSegmentContainsPoint(LineSegment s,
Vect v)
|
static boolean |
ShapeGeometry.lineSegmentsIntersect(LineSegment s1,
LineSegment s2)
This method tests whether the two line segments intersect |
static boolean |
ShapeGeometry.lineSegmentsIntersectProper(LineSegment s1,
LineSegment s2)
|
static Vect |
ShapeGeometry.midPoint(LineSegment s)
|
| Uses of LineSegment in physics |
|---|
| Methods in physics that return LineSegment | |
|---|---|
LineSegment |
GeometryInterface.rotateAround(LineSegment line,
Vect cor,
Angle a)
Specified by Geometry.rotateAround |
LineSegment |
GeometryImpl.rotateAround(LineSegment line,
Vect cor,
Angle a)
|
LineSegment |
GeometryCompare.rotateAround(LineSegment line,
Vect cor,
Angle a)
|
static LineSegment |
Geometry.rotateAround(LineSegment line,
Vect cor,
Angle a)
Rotates the line segment represented by line by a around the center of
rotation, cor, and returns the result. |
| Methods in physics with parameters of type LineSegment | |
|---|---|
boolean |
LineSegment.equals(LineSegment ls)
|
Vect |
GeometryInterface.perpendicularPoint(LineSegment line,
Vect point)
Specified by Geometry.perpendicularPoint |
Vect |
GeometryImpl.perpendicularPoint(LineSegment line,
Vect point)
|
Vect |
GeometryCompare.perpendicularPoint(LineSegment line,
Vect point)
|
static Vect |
Geometry.perpendicularPoint(LineSegment line,
Vect point)
Returns the point on line which forms a line with
point that is perpendicular to line. |
Vect |
GeometryInterface.perpendicularPointWholeLine(LineSegment line,
Vect point)
Specified by Geometry.perpendicularPointWholeLine |
Vect |
GeometryImpl.perpendicularPointWholeLine(LineSegment line,
Vect point)
|
Vect |
GeometryCompare.perpendicularPointWholeLine(LineSegment line,
Vect point)
|
static Vect |
Geometry.perpendicularPointWholeLine(LineSegment line,
Vect point)
Returns the point on the infinitly long line represented by line which forms a line with point that
is perpendicular to line. |
Vect |
GeometryInterface.reflectRotatingWall(LineSegment line,
Vect center,
double angularVelocity,
Circle ball,
Vect velocity)
Specified by Geometry.reflectRotatingWall |
Vect |
GeometryImpl.reflectRotatingWall(LineSegment line,
Vect center,
double angularVelocity,
Circle ball,
Vect velocity)
|
Vect |
GeometryCompare.reflectRotatingWall(LineSegment line,
Vect center,
double angularVelocity,
Circle ball,
Vect velocity)
|
static Vect |
Geometry.reflectRotatingWall(LineSegment line,
Vect center,
double angularVelocity,
Circle ball,
Vect velocity)
Computes the new velocity of a ball reflecting off of a wall which is rotating about a point with constant angular velocity. |
Vect |
GeometryInterface.reflectRotatingWall(LineSegment line,
Vect center,
double angularVelocity,
Circle ball,
Vect velocity,
double reflectionCoeff)
Specified by Geometry.reflectRotatingWall |
Vect |
GeometryImpl.reflectRotatingWall(LineSegment line,
Vect center,
double angularVelocity,
Circle ball,
Vect velocity,
double reflectionCoeff)
|
Vect |
GeometryCompare.reflectRotatingWall(LineSegment line,
Vect center,
double angularVelocity,
Circle ball,
Vect velocity,
double reflectionCoeff)
|
static Vect |
Geometry.reflectRotatingWall(LineSegment line,
Vect center,
double angularVelocity,
Circle ball,
Vect velocity,
double reflectionCoeff)
Computes the new velocity of a ball reflecting off of a wall which is rotating about a point with constant angular velocity. |
Vect |
GeometryInterface.reflectWall(LineSegment line,
Vect velocity)
Specified by Geometry.reflectWall |
Vect |
GeometryImpl.reflectWall(LineSegment line,
Vect velocity)
|
Vect |
GeometryCompare.reflectWall(LineSegment line,
Vect velocity)
|
static Vect |
Geometry.reflectWall(LineSegment line,
Vect velocity)
Computes the new velocity of a ball after bouncing (reflecting) off a wall. |
Vect |
GeometryInterface.reflectWall(LineSegment line,
Vect velocity,
double reflectionCoeff)
Specified by Geometry.reflectWall |
Vect |
GeometryImpl.reflectWall(LineSegment line,
Vect velocity,
double reflectionCoeff)
|
Vect |
GeometryCompare.reflectWall(LineSegment line,
Vect velocity,
double reflectionCoeff)
|
static Vect |
Geometry.reflectWall(LineSegment line,
Vect velocity,
double reflectionCoeff)
Computes the new velocity of a ball after bouncing (reflecting) off a wall. |
LineSegment |
GeometryInterface.rotateAround(LineSegment line,
Vect cor,
Angle a)
Specified by Geometry.rotateAround |
LineSegment |
GeometryImpl.rotateAround(LineSegment line,
Vect cor,
Angle a)
|
LineSegment |
GeometryCompare.rotateAround(LineSegment line,
Vect cor,
Angle a)
|
static LineSegment |
Geometry.rotateAround(LineSegment line,
Vect cor,
Angle a)
Rotates the line segment represented by line by a around the center of
rotation, cor, and returns the result. |
double |
GeometryInterface.timeUntilRotatingWallCollision(LineSegment line,
Vect center,
double angularVelocity,
Circle ball,
Vect velocity)
Specified by Geometry.timeUntilRotatingWallCollision |
double |
GeometryImpl.timeUntilRotatingWallCollision(LineSegment line,
Vect center,
double angularVelocity,
Circle ball,
Vect velocity)
|
double |
GeometryCompare.timeUntilRotatingWallCollision(LineSegment line,
Vect center,
double angularVelocity,
Circle ball,
Vect velocity)
|
static double |
Geometry.timeUntilRotatingWallCollision(LineSegment line,
Vect center,
double angularVelocity,
Circle ball,
Vect velocity)
Computes the time until a ball travelling at a specified velocity collides with a rotating line segment. |
double |
GeometryInterface.timeUntilWallCollision(LineSegment line,
Circle ball,
Vect velocity)
Specified by Geometry.timeUntilWallCollision |
double |
GeometryImpl.timeUntilWallCollision(LineSegment line,
Circle ball,
Vect velocity)
|
double |
GeometryCompare.timeUntilWallCollision(LineSegment line,
Circle ball,
Vect velocity)
|
static double |
Geometry.timeUntilWallCollision(LineSegment line,
Circle ball,
Vect velocity)
Computes the time until a ball, represented by a circle, travelling at a specified velocity collides with a specified line segment. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||