com.mizar.geometry
Class Arc

java.lang.Object
  extended by com.mizar.geometry.Geometry
      extended by com.mizar.geometry.Arc
All Implemented Interfaces:
OneCell

public class Arc
extends Geometry
implements OneCell


Nested Class Summary
 
Nested classes/interfaces inherited from class com.mizar.geometry.Geometry
Geometry.Results
 
Field Summary
 
Fields inherited from class com.mizar.geometry.Geometry
defaultOrdinates, dimensions, geographic, LEFTSIDE, maximumCoordinates, mbr, minimumCoordinates, ONLINE, ordinates, precision, results, RIGHTSIDE, SIDE, toStringDecimals
 
Constructor Summary
Arc()
           
 
Method Summary
 void changeDimensionality(int dimensionality)
          Converts the geometry entity to a different dimensionality
 Point getEndPoint()
           
 double[] getFirstPoint()
           
 double[] getLastPoint()
           
 Point getStartPoint()
           
 int maximumCoordinates()
           
 int minimumCoordinates()
           
 
Methods inherited from class com.mizar.geometry.Geometry
adjustEndPoints, adjustEndPoints, adjustEndPoints, adjustEndPoints, changeDimensions, computeMbr, computeMbr, computeMbr, computeNearestDistance, computeNearestDistance, connectsTo, connectsTo, connectsTo, connectsTo, constructDefaultPoint, equals, expandMbr, getCoordinate, getCoordinates, getCoordinates, getCoordinates, getCoordinates, getDefaultOrdinates, getDimensions, getEndCoordinateIndex, getFirstPoint, getLastPoint, getLeastDimension, getLeastPrecise, getLength, getLength, getMaximumCoordinates, getMbr, getMbrCorner, getMbrCorner, getMinimumCoordinates, getMostPrecise, getNumberOfCoordiates, getOrdinates, getPoints, getPointWithMatchingDimensions, getPrecision, getRange, getRange, getResults, getSegment, getToStringDecimals, getXYCoordinates, getXYCoordinates, hashCode, isCoveredByMbr, isEqualOrBetween, isGeographic, isInsideMbr, isSame, mbrIntersect, mbrOverlap, mbrOverlap, mbrOverlapRatio, mbrValid, polygonizeMbr, quadrant, seedMbr, setCoordinate, setCoordinates, setCoordinates, setDefaultOrdinates, setDimensions, setFirstPoint, setGeographic, setLastPoint, setMaximumCoordinates, setMinimumCoordinates, setOrdinates, setPrecision, setSegment, setToStringDecimals, toString, updateMbr
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mizar.geometry.OneCell
getDimensions, getLength, setFirstPoint, setLastPoint
 

Constructor Detail

Arc

public Arc()
Method Detail

minimumCoordinates

public int minimumCoordinates()

maximumCoordinates

public int maximumCoordinates()

getFirstPoint

public double[] getFirstPoint()
                       throws GeometryException
Specified by:
getFirstPoint in interface OneCell
Overrides:
getFirstPoint in class Geometry
Throws:
GeometryException

getLastPoint

public double[] getLastPoint()
                      throws GeometryException
Specified by:
getLastPoint in interface OneCell
Overrides:
getLastPoint in class Geometry
Throws:
GeometryException

getStartPoint

public Point getStartPoint()
                    throws GeometryException
Specified by:
getStartPoint in interface OneCell
Throws:
GeometryException

getEndPoint

public Point getEndPoint()
                  throws GeometryException
Specified by:
getEndPoint in interface OneCell
Throws:
GeometryException

changeDimensionality

public void changeDimensionality(int dimensionality)
                          throws GeometryException
Description copied from interface: OneCell
Converts the geometry entity to a different dimensionality

Specified by:
changeDimensionality in interface OneCell
Parameters:
dimensionality - new dimension number if dimensions is less than current dimensionality then excess points are thrown away if dimensions is greater than current dimensionality then points are added as needed and set to 0 The function has no effect if dimensions = dimensionality
Throws:
GeometryException