|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.ign.cogit.geoxygene.spatial.geomroot.GM_Object
fr.ign.cogit.geoxygene.spatial.geomcomp.GM_Complex
fr.ign.cogit.geoxygene.spatial.geomcomp.GM_Composite
fr.ign.cogit.geoxygene.spatial.geomcomp.GM_CompositeCurve
public class GM_CompositeCurve
Complexe ayant toutes les propriétés géométriques d'une courbe. C'est une liste de courbes orientées (GM_OrientableCurve) de telle manière que le noeud final d'une courbe correspond au noeud initial de la courbe suivante dans la liste. Hérite de GM_OrientableCurve, mais le lien n'apparaît pas explicitement (problème de double héritage en java). Les méthodes et attributs ont été reportés.
ATTENTION : normalement, il faudrait remplir le set "element" (contrainte : toutes les primitives du generateur sont dans le complexe). Ceci n'est pas implémenté pour le moment.
A FAIRE AUSSI : iterateur sur "generator"
| Field Summary | |
|---|---|
protected java.util.List |
generator
Les GM_OrientableCurve constituant self. |
protected GM_Curve |
primitive
Primitive. |
protected GM_OrientableCurve[] |
proxy
Attribut stockant les primitives orientées de cette primitive. |
| Fields inherited from class fr.ign.cogit.geoxygene.spatial.geomcomp.GM_Complex |
|---|
element, subComplex, superComplex |
| Fields inherited from class fr.ign.cogit.geoxygene.spatial.geomroot.GM_Object |
|---|
CRS |
| Constructor Summary | |
|---|---|
GM_CompositeCurve()
Constructeur par défaut |
|
GM_CompositeCurve(GM_OrientableCurve oCurve)
Constructeur à partir d'une et d'une seule GM_OrientableCurve. |
|
| Method Summary | |
|---|---|
void |
addGenerator(GM_OrientableCurve value)
Ajoute une GM_OrientableCurve en fin de liste. |
void |
addGenerator(GM_OrientableCurve value,
double tolerance)
Ajoute une GM_OrientableCurve en fin de liste avec un contrôle de continuité avec la tolérance passée en paramètre. |
void |
addGenerator(int i,
GM_OrientableCurve value)
Ajoute une GM_OrientableCurve au rang i. |
void |
addGeneratorTry(GM_OrientableCurve value,
double tolerance)
Ajoute une GM_OrientableCurve en fin de liste avec un contrôle de continuité avec la tolérance passée en paramètre. |
GM_CurveBoundary |
boundary()
Redéfinition de l'opérateur "boundary" sur GM_OrientableCurve. |
java.util.List |
getGenerator()
Renvoie la liste des GM_OrientableCurve |
GM_OrientableCurve |
getGenerator(int i)
Renvoie la GM_OrientableCurve de rang i |
GM_OrientableCurve |
getNegative()
Renvoie la primitive orientée négativement. |
GM_OrientableCurve |
getPositive()
Renvoie la primitive orientée positivement. |
GM_Curve |
getPrimitive()
Renvoie la primitive de self. |
void |
removeGenerator(GM_OrientableCurve value)
Efface la (ou les) GM_OrientableCurve passé en paramètre. |
void |
removeGenerator(int i)
Efface la GM_OrientableCurve de rang i. |
void |
setGenerator(int i,
GM_OrientableCurve value)
Affecte une GM_OrientableCurve au rang i. |
int |
sizeGenerator()
Nombre de GM_OrientableCurve constituant self |
boolean |
validate(double tolerance)
Vérifie le chaînage des composants. |
| Methods inherited from class fr.ign.cogit.geoxygene.spatial.geomcomp.GM_Complex |
|---|
addElement, addSubComplex, addSuperComplex, coord, getElement, getSubComplex, getSuperComplex, isMaximal, removeElement, removeSubComplex, removeSuperComplex, sizeElement, sizeSubComplex, sizeSuperComplex |
| Methods inherited from class fr.ign.cogit.geoxygene.spatial.geomroot.GM_Object |
|---|
area, buffer, buffer, centroid, clone, contains, convexHull, crosses, difference, dimension, disjoint, distance, envelope, equals, equalsExact, equalsExact, exportImage, exportSvgz, exportWkt, getCRS, intersection, intersects, intersectsStrictement, isEmpty, isSimple, isValid, isWithinDistance, length, mbRegion, numPoints, overlaps, relate, setCRS, symmetricDifference, toString, touches, translate, union, within |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List generator
protected GM_Curve primitive
protected GM_OrientableCurve[] proxy
| Constructor Detail |
|---|
public GM_CompositeCurve()
public GM_CompositeCurve(GM_OrientableCurve oCurve)
| Method Detail |
|---|
public java.util.List getGenerator()
public GM_OrientableCurve getGenerator(int i)
public void setGenerator(int i,
GM_OrientableCurve value)
public void addGenerator(GM_OrientableCurve value)
public void addGenerator(GM_OrientableCurve value,
double tolerance)
throws java.lang.Exception
java.lang.Exception
public void addGeneratorTry(GM_OrientableCurve value,
double tolerance)
throws java.lang.Exception
java.lang.Exception
public void addGenerator(int i,
GM_OrientableCurve value)
public void removeGenerator(GM_OrientableCurve value)
throws java.lang.Exception
java.lang.Exception
public void removeGenerator(int i)
throws java.lang.Exception
java.lang.Exceptionpublic int sizeGenerator()
public GM_Curve getPrimitive()
public GM_OrientableCurve getPositive()
public GM_OrientableCurve getNegative()
public GM_CurveBoundary boundary()
public boolean validate(double tolerance)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||