Fields inherited from class org.kabeja.dxf.DXFEntity |
block, color, colorRGB, doc, extrusion, flags, id, layerID, lineType, linetypeScaleFactor, lineWeight, modelSpace, thickness, transparency, visibile |
Methods inherited from class org.kabeja.dxf.DXFEntity |
getColor, getColorRGB, getDXFDocument, getExtrusion, getFlags, getID, getLayerName, getLineType, getLinetypeScaleFactor, getLineWeight, getThickness, getTransparency, isBlockEntity, isModelSpace, isOmitLineType, isVisibile, setBlockEntity, setColor, setColorRGB, setDXFDocument, setExtrusion, setExtrusionX, setExtrusionY, setExtrusionZ, setFlags, setID, setLayerName, setLineType, setLinetypeScaleFactor, setLineWeight, setModelSpace, setThickness, setTransparency, setVisibile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DXFViewport
public DXFViewport()
getBackClippingPlane
public double getBackClippingPlane()
- Returns:
- Returns the backClippingPlane.
setBackClippingPlane
public void setBackClippingPlane(double backClippingPlane)
- Parameters:
backClippingPlane
- The backClippingPlane to set.
getCenterPoint
public Point getCenterPoint()
- Returns:
- Returns the centerPoint.
setCenterPoint
public void setCenterPoint(Point centerPoint)
- Parameters:
centerPoint
- The centerPoint to set.
getCircleZoom
public double getCircleZoom()
- Returns:
- Returns the circleZoom.
setCircleZoom
public void setCircleZoom(double circleZoom)
- Parameters:
circleZoom
- The circleZoom to set.
getFastZoom
public double getFastZoom()
- Returns:
- Returns the fastZoom.
setFastZoom
public void setFastZoom(double fastZoom)
- Parameters:
fastZoom
- The fastZoom to set.
getFrontClippingPlane
public double getFrontClippingPlane()
- Returns:
- Returns the frontClippingPlane.
setFrontClippingPlane
public void setFrontClippingPlane(double frontClippingPlane)
- Parameters:
frontClippingPlane
- The frontClippingPlane to set.
isGrid
public boolean isGrid()
- Returns:
- Returns the grid.
setGrid
public void setGrid(boolean grid)
- Parameters:
grid
- The grid to set.
getGridSpacingPoint
public Point getGridSpacingPoint()
- Returns:
- Returns the gridSpacingPoint.
setGridSpacingPoint
public void setGridSpacingPoint(Point gridSpacingPoint)
- Parameters:
gridSpacingPoint
- The gridSpacingPoint to set.
getHeight
public double getHeight()
- Returns:
- Returns the height.
setHeight
public void setHeight(double height)
- Parameters:
height
- The height to set.
getLensLength
public double getLensLength()
- Returns:
- Returns the lensLength.
setLensLength
public void setLensLength(double lensLength)
- Parameters:
lensLength
- The lensLength to set.
getLowerLeftCorner
public Point getLowerLeftCorner()
- Returns:
- Returns the lowerLeftCorner.
setLowerLeftCorner
public void setLowerLeftCorner(Point lowerLeftCorner)
- Parameters:
lowerLeftCorner
- The lowerLeftCorner to set.
getViewportID
public java.lang.String getViewportID()
- Returns:
- Returns the name.
setViewportID
public void setViewportID(java.lang.String name)
- Parameters:
name
- The name to set.
getAspectRatio
public double getAspectRatio()
- Returns:
- Returns the ratio.
setAspectRatio
public void setAspectRatio(double ratio)
- Parameters:
ratio
- The ratio to set.
setTwistAngle
public void setTwistAngle(double rotationAngle)
- Parameters:
rotationAngle
- The rotationAngle to set.
isSnap
public boolean isSnap()
- Returns:
- Returns the snap.
setSnap
public void setSnap(boolean snap)
- Parameters:
snap
- The snap to set.
getSnapBasePoint
public Point getSnapBasePoint()
- Returns:
- Returns the snapBasePoint.
setSnapBasePoint
public void setSnapBasePoint(Point snapBasePoint)
- Parameters:
snapBasePoint
- The snapBasePoint to set.
getUpperRightCorner
public Point getUpperRightCorner()
- Returns:
- Returns the upperRightCorner.
setUpperRightCorner
public void setUpperRightCorner(Point upperRightCorner)
- Parameters:
upperRightCorner
- The upperRightCorner to set.
getViewDirectionVector
public Vector getViewDirectionVector()
- Returns:
- Returns the viewDirectionPoint.
setViewDirectionVector
public void setViewDirectionVector(Vector viewDirectionPoint)
- Parameters:
viewDirectionPoint
- The viewDirectionPoint to set.
getViewCenterPoint
public Point getViewCenterPoint()
- Returns:
- Returns the viewTargetPoint.
setViewCenterPoint
public void setViewCenterPoint(Point viewTargetPoint)
- Parameters:
viewTargetPoint
- The viewTargetPoint to set.
isActive
public boolean isActive()
- Returns:
- Returns the active.
setActive
public void setActive(boolean active)
- Parameters:
active
- The active to set.
getBounds
public Bounds getBounds()
- Specified by:
getBounds
in class DXFEntity
getLength
public double getLength()
- Description copied from class:
DXFEntity
- Returns the length of the entity or 0 if the entity has no length
- Specified by:
getLength
in class DXFEntity
- Returns:
getType
public java.lang.String getType()
- Specified by:
getType
in class DXFEntity
getWidth
public double getWidth()
setWidth
public void setWidth(double width)
setRenderMode
public void setRenderMode(int renderMode)
getViewHeight
public double getViewHeight()
setViewHeight
public void setViewHeight(double viewHeight)
getUcsOrigin
public Vector getUcsOrigin()
setUcsOrigin
public void setUcsOrigin(Vector ucsOrigin)
getUcsXAxis
public Vector getUcsXAxis()
setUcsXAxis
public void setUcsXAxis(Vector ucsXAxis)
getUcsYAxis
public Vector getUcsYAxis()
setUcsYAxis
public void setUcsYAxis(Vector ucsYAxis)
getUcsType
public int getUcsType()
setUcsType
public void setUcsType(int ucsType)
getUcsElevation
public double getUcsElevation()
setUcsElevation
public void setUcsElevation(double ucsElevation)
isUseUCS
public boolean isUseUCS()
setUseUCS
public void setUseUCS(boolean useUCS)
getRatio
public double getRatio()
setRatio
public void setRatio(double ratio)
getRenderMode
public int getRenderMode()
getSnapAngle
public double getSnapAngle()
setSnapAngle
public void setSnapAngle(double snapAngle)
getViewTargetPoint
public Point getViewTargetPoint()
setViewTargetPoint
public void setViewTargetPoint(Point viewTargetPoint)
getSnapSpacingPoint
public Point getSnapSpacingPoint()
setSnapSpacingPoint
public void setSnapSpacingPoint(Point snapSpacingPoint)
getPlotStyleName
public java.lang.String getPlotStyleName()
setPlotStyleName
public void setPlotStyleName(java.lang.String plotStyleName)
getViewportStatus
public int getViewportStatus()
setViewportStatus
public void setViewportStatus(int viewportStatus)
getTwistAngle
public double getTwistAngle()
addFrozenLayer
public void addFrozenLayer(java.lang.String layerName)
isFrozenLayer
public boolean isFrozenLayer(java.lang.String layerName)
getFrozenLayerIterator
public java.util.Iterator getFrozenLayerIterator()
getZoomXPFactor
public double getZoomXPFactor()
calculateZoomXPFactor
public double calculateZoomXPFactor()
getModelspaceViewBounds
public Bounds getModelspaceViewBounds()