public class Triangle extends Object
Modifier and Type | Field and Description |
---|---|
Point3d |
a |
Point3d |
b |
Point3d |
c |
Point3d |
center |
double |
cRadius2 |
Constructor and Description |
---|
Triangle() |
Triangle(Point3d a,
Point3d b,
Point3d c) |
Modifier and Type | Method and Description |
---|---|
double |
calculateCircumcenter2() |
Point3d |
intersection(Line l)
finds where the line intersects the triangle and returns it
returns null if their is no intersection
|
static void |
test() |
String |
toString() |
public Point3d a
public Point3d b
public Point3d c
public Point3d center
public double cRadius2
Copyright © 2015–2021 Fiji. All rights reserved.