Package com.irurueta.geometry
Class Triangle2DTest
java.lang.Object
com.irurueta.geometry.Triangle2DTest
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final doubleprivate static final doubleprivate static final doubleprivate static final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void(package private) void
-
Field Details
-
MIN_RANDOM_VALUE
private static final double MIN_RANDOM_VALUE- See Also:
-
MAX_RANDOM_VALUE
private static final double MAX_RANDOM_VALUE- See Also:
-
ABSOLUTE_ERROR
private static final double ABSOLUTE_ERROR- See Also:
-
TIMES
private static final int TIMES- See Also:
-
-
Constructor Details
-
Triangle2DTest
Triangle2DTest()
-
-
Method Details
-
testConstants
@Test void testConstants() -
testConstructor
@Test void testConstructor() -
testGetSetVertex1
@Test void testGetSetVertex1() -
testGetSetVertex2
@Test void testGetSetVertex2() -
testGetSetVertex3
@Test void testGetSetVertex3() -
testGetSetVertices
@Test void testGetSetVertices() -
testAreaSignedAreaAndAreColinearPoints
@Test void testAreaSignedAreaAndAreColinearPoints() throws com.irurueta.algebra.WrongSizeException, com.irurueta.algebra.DecomposerException- Throws:
com.irurueta.algebra.WrongSizeExceptioncom.irurueta.algebra.DecomposerException
-
testIsInsideShortestDistanceAndIsLocus
@Test void testIsInsideShortestDistanceAndIsLocus() -
testCenter
@Test void testCenter() -
testPerimeter
@Test void testPerimeter() -
testClosestPoint
@Test void testClosestPoint() -
testAreVerticesClockwise
@Test void testAreVerticesClockwise() -
testSerializeDeserialize
- Throws:
IOExceptionClassNotFoundException
-