|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jzy3d.plot3d.builder.delaunay.jdt.Triangle_dt
public class Triangle_dt
This class represents a 3D triangle in a Triangulation!
Field Summary | |
---|---|
static int |
_c2
|
static int |
_counter
|
Constructor Summary | |
---|---|
Triangle_dt(Point_dt A,
Point_dt B)
creates a half plane using the segment (A,B). |
|
Triangle_dt(Point_dt A,
Point_dt B,
Point_dt C)
constructs a triangle form 3 point - store it in counterclockwised order. |
Method Summary | |
---|---|
boolean |
contains_BoundaryIsOutside(Point_dt p)
determinates if this triangle contains the point p. |
boolean |
contains(Point_dt p)
determinates if this triangle contains the point p. |
boolean |
fallInsideCircumcircle(Point_dt[] arrayPoints)
|
BoundingBox |
getBoundingBox()
|
boolean |
isCorner(Point_dt p)
Checks if the given point is a corner of this triangle. |
boolean |
isHalfplane()
returns true iff this triangle is actually a half plane. |
Triangle_dt |
next_12()
returns the consecutive triangle which shares this triangle p1,p2 edge. |
Triangle_dt |
next_23()
returns the consecutive triangle which shares this triangle p2,p3 edge. |
Triangle_dt |
next_31()
returns the consecutive triangle which shares this triangle p3,p1 edge. |
Point_dt |
p1()
returns the first vertex of this triangle. |
Point_dt |
p2()
returns the second vertex of this triangle. |
Point_dt |
p3()
returns the 3th vertex of this triangle. |
java.lang.String |
toString()
|
double |
z_value(Point_dt q)
compute the Z value for the X,Y values of q. |
double |
z(double x,
double y)
compute the Z value for the X,Y values of q. |
Point_dt |
z(Point_dt q)
compute the Z value for the X,Y values of q. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int _counter
public static int _c2
Constructor Detail |
---|
public Triangle_dt(Point_dt A, Point_dt B, Point_dt C)
public Triangle_dt(Point_dt A, Point_dt B)
A
- B
- Method Detail |
---|
public boolean isHalfplane()
public Point_dt p1()
public Point_dt p2()
public Point_dt p3()
public Triangle_dt next_12()
public Triangle_dt next_23()
public Triangle_dt next_31()
public BoundingBox getBoundingBox()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean contains(Point_dt p)
p
- the query point
public boolean contains_BoundaryIsOutside(Point_dt p)
p
- the query point
public boolean isCorner(Point_dt p)
p
- The given point.
public boolean fallInsideCircumcircle(Point_dt[] arrayPoints)
public double z_value(Point_dt q)
q
- query point (its Z value is ignored).
public double z(double x, double y)
x
- x-coordinate of the query point.y
- y-coordinate of the query point.
public Point_dt z(Point_dt q)
q
- query point (its Z value is ignored).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |