Package org.gvsig.dwg.lib.objects
Class DwgSpline
java.lang.Object
org.gvsig.dwg.lib.DwgObject
org.gvsig.dwg.lib.objects.DwgSpline
- All Implemented Interfaces:
Cloneable,IDwg2FMap,IDwg3DTestable
The DwgSpline class represents a DWG Spline
- Author:
- jmorell
-
Field Summary
Fields inherited from class org.gvsig.dwg.lib.DwgObject
address, avanzarFlag, color, extendedData, graphicData, graphicsFlag, handle, index, layerHandle, linetypeFlags, mode, noLinks, numReactors, plotstyleFlags, plotStyleHandle, sizeInBits, subEntityHandle, type, version, xDicObjFlag, xDicObjHandle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()protected voiddouble[]double[][]doubleintdouble[]double[][]doubleintdouble[]doubleintdouble[]doublegetZ()booleanbooleanisClosed()booleanbooleanvoidsetBeginTanVector(double[] beginTanVector) voidsetClosed(boolean closed) voidsetControlPoints(double[][] controlPoints) voidsetControlTolerance(double controlTolerance) voidsetDegree(int degree) voidsetEndTanVector(double[] endTanVector) voidsetFitPoints(double[][] fitPoints) voidsetFitTolerance(double fitTolerance) voidsetKnotPoints(double[] knotPoints) voidsetKnotTolerance(double knotTolerance) voidsetPeriodic(boolean periodic) voidsetRational(boolean rational) voidsetScenario(int scenario) voidsetWeights(double[] weights) org.gvsig.fmap.geom.GeometrytoFMapGeometry(boolean is3DFile) toFMapString(boolean is3DFile) toString()Methods inherited from class org.gvsig.dwg.lib.DwgObject
addReactorHandle, getAddress, getAvanzar, getColor, getExtendedData, getGeometrySubType, getGraphicData, getHandle, getIndex, getLayerHandle, getLinetypeFlags, getLineTypeHandle, getMode, getNextHandle, getNumReactors, getPlotstyleFlags, getPreviousHandle, getReactorsHandles, getSizeInBits, getSubEntityHandle, getType, getVersion, getXDicObjHandle, hasLayerHandle, hasLineTypeHandle, hasNextHandle, hasPlotStyleHandle, hasPreviousHandle, hasReactorsHandles, hasSubEntityHandle, hasXDicObjHandle, inserta, insertar, isGraphicsFlag, isLyrByLineType, isNoLinks, isXDicObjFlag, reactorsHandlesQuantity, setAddress, setAvanzar, setColor, setExtendedData, setGraphicData, setGraphicsFlag, setHandle, setLayerHandle, setLinetypeFlags, setLineTypeHandle, setLyrByLineType, setMode, setNextHandle, setNoLinks, setNumReactors, setPlotstyleFlags, setPlotStyleHandle, setPreviousHandle, setSizeInBits, setSubEntityHandle, setType, setVersion, setXDicObjFlag, setXDicObjHandleMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gvsig.dwg.lib.IDwg2FMap
getGeometrySubType
-
Constructor Details
-
DwgSpline
public DwgSpline(int index)
-
-
Method Details
-
isClosed
public boolean isClosed()- Returns:
- Returns the closed.
-
setClosed
public void setClosed(boolean closed) - Parameters:
closed- The closed to set.
-
getControlPoints
public double[][] getControlPoints()- Returns:
- Returns the controlPoints.
-
setControlPoints
public void setControlPoints(double[][] controlPoints) - Parameters:
controlPoints- The controlPoints to set.
-
getFitPoints
public double[][] getFitPoints()- Returns:
- Returns the fitPoints.
-
setFitPoints
public void setFitPoints(double[][] fitPoints) - Parameters:
fitPoints- The fitPoints to set.
-
getKnotPoints
public double[] getKnotPoints()- Returns:
- Returns the knotPoints.
-
setKnotPoints
public void setKnotPoints(double[] knotPoints) - Parameters:
knotPoints- The knotPoints to set.
-
getScenario
public int getScenario()- Returns:
- Returns the scenario.
-
setScenario
public void setScenario(int scenario) - Parameters:
scenario- The scenario to set.
-
getBeginTanVector
public double[] getBeginTanVector()- Returns:
- Returns the beginTanVector.
-
setBeginTanVector
public void setBeginTanVector(double[] beginTanVector) - Parameters:
beginTanVector- The beginTanVector to set.
-
getControlTolerance
public double getControlTolerance()- Returns:
- Returns the controlTolerance.
-
setControlTolerance
public void setControlTolerance(double controlTolerance) - Parameters:
controlTolerance- The controlTolerance to set.
-
getDegree
public int getDegree()- Returns:
- Returns the degree.
-
setDegree
public void setDegree(int degree) - Parameters:
degree- The degree to set.
-
getEndTanVector
public double[] getEndTanVector()- Returns:
- Returns the endTanVector.
-
setEndTanVector
public void setEndTanVector(double[] endTanVector) - Parameters:
endTanVector- The endTanVector to set.
-
getFitTolerance
public double getFitTolerance()- Returns:
- Returns the fitTolerance.
-
setFitTolerance
public void setFitTolerance(double fitTolerance) - Parameters:
fitTolerance- The fitTolerance to set.
-
getKnotTolerance
public double getKnotTolerance()- Returns:
- Returns the knotTolerance.
-
setKnotTolerance
public void setKnotTolerance(double knotTolerance) - Parameters:
knotTolerance- The knotTolerance to set.
-
isPeriodic
public boolean isPeriodic()- Returns:
- Returns the periodic.
-
setPeriodic
public void setPeriodic(boolean periodic) - Parameters:
periodic- The periodic to set.
-
isRational
public boolean isRational()- Returns:
- Returns the rational.
-
setRational
public void setRational(boolean rational) - Parameters:
rational- The rational to set.
-
getWeights
public double[] getWeights()- Returns:
- Returns the weights.
-
setWeights
public void setWeights(double[] weights) - Parameters:
weights- The weights to set.
-
has3DData
public boolean has3DData()- Specified by:
has3DDatain interfaceIDwg3DTestable
-
getZ
public double getZ()- Specified by:
getZin interfaceIDwg3DTestable
-
clone
-
fill
-
toFMapGeometry
public org.gvsig.fmap.geom.Geometry toFMapGeometry(boolean is3DFile) throws org.gvsig.fmap.geom.exception.CreateGeometryException - Specified by:
toFMapGeometryin interfaceIDwg2FMap- Throws:
org.gvsig.fmap.geom.exception.CreateGeometryException
-
toFMapString
- Specified by:
toFMapStringin interfaceIDwg2FMap
-
toString
-
getGeometryType
public int getGeometryType()- Specified by:
getGeometryTypein interfaceIDwg2FMap
-