Revision 44612 trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.geometry/org.gvsig.fmap.geometry.api/src/main/java/org/gvsig/fmap/geom/Geometry.java
Geometry.java | ||
---|---|---|
70 | 70 |
* </p> |
71 | 71 |
* |
72 | 72 |
* @see <a href="http://www.iso.org/iso/iso_catalogue/catalogue_tc/catalogue_detail.htm?csnumber=26012" |
73 |
* >ISO 19107< /a>
|
|
73 |
* >ISO 19107</a> |
|
74 | 74 |
*/ |
75 | 75 |
public interface Geometry extends Shape, Serializable, Comparable, Cloneable { |
76 | 76 |
|
... | ... | |
377 | 377 |
* |
378 | 378 |
* @return True, if <code>this</code> intersects <code>r</code>. |
379 | 379 |
*/ |
380 |
@Override |
|
380 | 381 |
public boolean intersects(Rectangle2D r); |
381 | 382 |
|
382 | 383 |
/** |
... | ... | |
495 | 496 |
* {@link OPERATIONS#CONVERTTOWKB}. |
496 | 497 |
* |
497 | 498 |
* @return the WKB version of the geometry |
499 |
* @throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException |
|
500 |
* @throws org.gvsig.fmap.geom.operation.GeometryOperationException |
|
498 | 501 |
*/ |
499 | 502 |
public byte[] convertToWKB() throws GeometryOperationNotSupportedException, |
500 | 503 |
GeometryOperationException; |
... | ... | |
512 | 515 |
* {@link OPERATIONS#CONVERTTOEWKB}. |
513 | 516 |
* |
514 | 517 |
* @return the EWKB version of the geometry |
518 |
* @throws org.gvsig.fmap.geom.operation.GeometryOperationNotSupportedException |
|
519 |
* @throws org.gvsig.fmap.geom.operation.GeometryOperationException |
|
515 | 520 |
*/ |
516 | 521 |
public byte[] convertToEWKB() throws GeometryOperationNotSupportedException, GeometryOperationException; |
517 | 522 |
|
... | ... | |
580 | 585 |
* This is a utility method to wrap the invocation to the operation |
581 | 586 |
* {@link OPERATIONS#DISTANCE}. |
582 | 587 |
* |
583 |
* @param geometry the Geometry from which to compute the distance |
|
584 |
* |
|
588 |
* @param other |
|
585 | 589 |
* @return the distance between the geometries |
586 | 590 |
* |
587 | 591 |
* @throws GeometryOperationNotSupportedException |
... | ... | |
739 | 743 |
// =============================================== |
740 | 744 |
// |
741 | 745 |
/** |
746 |
* @param affineTransform |
|
742 | 747 |
* @return the awt shape used to display the geometry. It applies a |
743 | 748 |
* tranformation before to return the coordinates of the shape |
744 | 749 |
* @deprecated this class inherits of {@link Shape} by historical reasons. |
... | ... | |
761 | 766 |
* @deprecated use getEnvelope. |
762 | 767 |
* @return Boundary rectangle. |
763 | 768 |
*/ |
769 |
@Override |
|
764 | 770 |
public Rectangle2D getBounds2D(); |
765 | 771 |
|
766 | 772 |
/** |
... | ... | |
774 | 780 |
* team. |
775 | 781 |
* |
776 | 782 |
*/ |
783 |
@Override |
|
777 | 784 |
public PathIterator getPathIterator(AffineTransform at); |
778 | 785 |
|
779 | 786 |
/** |
... | ... | |
880 | 887 |
*/ |
881 | 888 |
public boolean out(Geometry geometry) throws GeometryOperationNotSupportedException, GeometryOperationException; |
882 | 889 |
|
890 |
public Geometry force2D() throws GeometryOperationNotSupportedException, GeometryOperationException; |
|
891 |
|
|
883 | 892 |
/** |
884 | 893 |
* Return true if the geometry can be transformed by the affine transform |
885 | 894 |
* |
Also available in: Unified diff