NetCharts Pro

netcharts.pro.charts.bar3d
Class NFViewPoint

java.lang.Object
  extended by netcharts.pro.common.NFBaseClass
      extended by netcharts.pro.charts.bar3d.NFViewPoint
All Implemented Interfaces:
java.lang.Cloneable, NFCDLGenerator

public class NFViewPoint
extends NFBaseClass
implements NFCDLGenerator

The NFViewPoint object represents a carteisan or speherical set of coordinates.


Field Summary
static int CARTESIAN
           
static int SPHERICAL
           
 
Constructor Summary
NFViewPoint()
          Constructs a default NFViewPoint.
NFViewPoint(int type, double xOrRadius, double yOrPhi, double zOrTheta)
          Construct a NFViewPoint with given parameters
 
Method Summary
 java.lang.String getCDL()
          Generate CDL parameters representing this node
 int getType()
           
 double getXOrRadius()
           
 double getYOrPhi()
           
 double getZOrTheta()
           
 void setCDL(java.lang.String cdl)
          Configures this object from a CDL parameter representation.
 void setType(int type)
           
 void setXOrRadius(double orRadius)
           
 void setYOrPhi(double orPhi)
           
 void setZOrTheta(double orTheta)
           
 java.lang.String toString()
          Returns a new String object representing this NFViewPoint.
 
Methods inherited from class netcharts.pro.common.NFBaseClass
clone, getModified, getUserObject, setModified, setUserObject
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CARTESIAN

public static final int CARTESIAN
See Also:
Constant Field Values

SPHERICAL

public static final int SPHERICAL
See Also:
Constant Field Values
Constructor Detail

NFViewPoint

public NFViewPoint()
Constructs a default NFViewPoint.


NFViewPoint

public NFViewPoint(int type,
                   double xOrRadius,
                   double yOrPhi,
                   double zOrTheta)
Construct a NFViewPoint with given parameters

Parameters:
type -
xOrRadius -
yOrPhi -
zOrTheta -
Method Detail

getType

public int getType()

setType

public void setType(int type)

getXOrRadius

public double getXOrRadius()

setXOrRadius

public void setXOrRadius(double orRadius)

getYOrPhi

public double getYOrPhi()

setYOrPhi

public void setYOrPhi(double orPhi)

getZOrTheta

public double getZOrTheta()

setZOrTheta

public void setZOrTheta(double orTheta)

toString

public java.lang.String toString()
Returns a new String object representing this NFViewPoint.

Specified by:
toString in interface NFCDLGenerator
Overrides:
toString in class java.lang.Object
Returns:
A new String object in the same form as that given by getCDL().

setCDL

public void setCDL(java.lang.String cdl)
Configures this object from a CDL parameter representation.

Specified by:
setCDL in interface NFCDLGenerator
Parameters:
cdl - CDL in the form: (type, x/radius, y/phi, z/theta)

getCDL

public java.lang.String getCDL()
Generate CDL parameters representing this node

Specified by:
getCDL in interface NFCDLGenerator
Returns:
CDL in the form: (type, x/radius, y/phi, z/theta)

NetCharts Pro


Visual Mining, Inc.
2099 Gaither Rd.
Suite 220
Rockville, MD 20850
800.308.0731
301.947.8293 FAX

Copyright © Visual Mining, Inc. 1996 - 2011
All Rights Reserved.

NetCharts Pro TM is a registered trademark of Visual Mining, Inc. Other brands and their products are trademarks of their respective holders.

Last Modified: Jun 28, 2011