All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ctreber.acearth.util.EdgeCrossing Maven / Gradle / Ivy

Go to download

PlantUML is a component that allows to quickly write : * sequence diagram, * use case diagram, * class diagram, * activity diagram, * component diagram, * state diagram * object diagram

The newest version!
package com.ctreber.acearth.util;

/**
 * 

Holds information about a line crossing "the edge of Earth". * *

© 2002 Christian Treber, [email protected] * @author Christian Treber, [email protected] * */ public class EdgeCrossing { public static final int XingTypeEntry = 0; public static final int XingTypeExit = 1; private int fType; private int fIndex; private double fX; private double fY; private double fAngle; public EdgeCrossing(int pType, int pIndex, double pX, double pY, double pAngle) { fType = pType; fX = pX; fY = pY; fAngle = pAngle; fIndex = pIndex; } public String toString() { return fType + ": " + fX + ", " + fY + ", " + fAngle + " (" + fIndex + ")"; } public int getType() { return fType; } public double getX() { return fX; } public double getY() { return fY; } public double getAngle() { return fAngle; } public int getIndex() { return fIndex; } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy