public static class ShapeField.DecodedTriangle extends Object
ShapeField.decodeTriangle(byte[], DecodedTriangle)
.Modifier and Type | Class and Description |
---|---|
static class |
ShapeField.DecodedTriangle.TYPE
type of triangle
|
Modifier and Type | Field and Description |
---|---|
boolean |
ab
represent if edge ab belongs to original shape
|
int |
aX
x coordinate, vertex one
|
int |
aY
y coordinate, vertex one
|
boolean |
bc
represent if edge bc belongs to original shape
|
int |
bX
x coordinate, vertex two
|
int |
bY
y coordinate, vertex two
|
boolean |
ca
represent if edge ca belongs to original shape
|
int |
cX
x coordinate, vertex three
|
int |
cY
y coordinate, vertex three
|
ShapeField.DecodedTriangle.TYPE |
type
triangle type
|
Constructor and Description |
---|
DecodedTriangle()
default xtor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
String |
toString()
pretty print the triangle vertices
|
public int aX
public int aY
public int bX
public int bY
public int cX
public int cY
public boolean ab
public boolean bc
public boolean ca
public ShapeField.DecodedTriangle.TYPE type
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.