Package org.opentrafficsim.core.geometry
Class FractionalHelper
java.lang.Object
org.opentrafficsim.core.geometry.FractionalHelper
Test/development code for the fractional helper stuff.
-
Method Summary
Modifier and TypeMethodDescription(package private) static org.djutils.draw.point.Point2d[]
Dirty hack.static void
Test/development code for the fractional helper stuff.
-
Method Details
-
main
public static void main(String[] args) throws OtsGeometryException, IllegalArgumentException, IllegalAccessException, NoSuchFieldException, SecurityException Test/development code for the fractional helper stuff.- Parameters:
args
- String[]; the command line arguments (not used)- Throws:
OtsGeometryException
- in case of errorSecurityException
- ...NoSuchFieldException
- ...IllegalAccessException
- ...IllegalArgumentException
- ...
-
getFractionalHelperCenters
static org.djutils.draw.point.Point2d[] getFractionalHelperCenters(OtsLine2d line) throws IllegalArgumentException, IllegalAccessException, NoSuchFieldException, SecurityException Dirty hack.- Parameters:
line
- OtsLine2d; the line- Returns:
- OTSPoine3D[]
- Throws:
IllegalArgumentException
- ...IllegalAccessException
- ...NoSuchFieldException
- ...SecurityException
- ...
-