DecodedTriangle

Represents a encoded triangle using ShapeField.decodeTriangle.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard

type of triangle

Properties

Link copied to clipboard
var ab: Boolean

represent if edge ab belongs to original shape

Link copied to clipboard
var aX: Int

x coordinate, vertex one

Link copied to clipboard
var aY: Int

y coordinate, vertex one

Link copied to clipboard
var bc: Boolean

represent if edge bc belongs to original shape

Link copied to clipboard
var bX: Int

x coordinate, vertex two

Link copied to clipboard
var bY: Int

y coordinate, vertex two

Link copied to clipboard
var ca: Boolean

represent if edge ca belongs to original shape

Link copied to clipboard
var cX: Int

x coordinate, vertex three

Link copied to clipboard
var cY: Int

y coordinate, vertex three

Link copied to clipboard

triangle type

Functions

Link copied to clipboard
open operator override fun equals(o: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
fun setValues(aX: Int, aY: Int, ab: Boolean, bX: Int, bY: Int, bc: Boolean, cX: Int, cY: Int, ca: Boolean)

Sets the values of the DecodedTriangle

Link copied to clipboard
open override fun toString(): String

pretty print the triangle vertices