MCPcopy Create free account
hub / github.com/OpenSourcePhysics/osp / sin

Method sin

src/org/opensourcephysics/media/core/TPoint.java:537–539  ·  view source on GitHub ↗

Returns the sine of the angle measured ccw from the positive x-axis to the line between this TPoint and the specified coordinates. @param x the x coordinate @param y the x coordinate @return the sine of the angle

(double x, double y)

Source from the content-addressed store, hash-verified

535 * @return the sine of the angle
536 */
537 public double sin(double x, double y) {
538 return (getY() - y) / distance(x, y);
539 }
540
541 /**
542 * Returns the sine of the angle measured ccw from the positive x-axis to the

Callers 15

Demo3D_3AppMethod · 0.45
mainMethod · 0.45
moveElectronsMethod · 0.45
setFrameAngleMethod · 0.45
getMatchLocationMethod · 0.45
setAngleMethod · 0.45
setAllAnglesMethod · 0.45
getAngleAtRadiusMethod · 0.45
getDerivativeAtRadiusMethod · 0.45
refreshScaleMethod · 0.45
getStretchFactorMethod · 0.45
getTransformedPointMethod · 0.45

Calls 1

getYMethod · 0.65

Tested by 3

mathMethod · 0.36
applyAsDoubleMethod · 0.36