MCPcopy Index your code
hub / github.com/classgraph/classgraph / Triangle

Class Triangle

src/test/java/com/xyz/fig/shape/Triangle.java:8–58  ·  view source on GitHub ↗

Triangle.

Source from the content-addressed store, hash-verified

6 * Triangle.
7 */
8public class Triangle extends ShapeImpl {
9 /** The edge len. */
10 private final float edgeLen;
11
12 /** The rotation. */
13 private final float rotation;
14
15 /**
16 * Constructor.
17 *
18 * @param x
19 * the x
20 * @param y
21 * the y
22 * @param edgeLen
23 * the edge len
24 * @param rotation
25 * the rotation
26 */
27 public Triangle(final float x, final float y, final float edgeLen, final float rotation) {
28 super(x, y);
29 this.edgeLen = edgeLen;
30 this.rotation = rotation;
31 }
32
33 /**
34 * Get the edge len.
35 *
36 * @return the edge len
37 */
38 public float getEdgeLen() {
39 return edgeLen;
40 }
41
42 /**
43 * Get the rotation.
44 *
45 * @return the rotation
46 */
47 public float getRotation() {
48 return rotation;
49 }
50
51 /* (non-Javadoc)
52 * @see com.xyz.fig.shape.ShapeImpl#draw(java.awt.Graphics2D)
53 */
54 @Override
55 public void draw(final Graphics2D f) {
56 throw new RuntimeException("Not implemented");
57 }
58}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…