igeo
Class IPoint

java.lang.Object
  extended by igeo.IObject
      extended by igeo.IPoint
All Implemented Interfaces:
IParameter, ITransformable, IVecI, IVecOp

public class IPoint
extends IObject
implements IVecI

Class of point object.


Field Summary
 IVec pos
           
 
Fields inherited from class igeo.IObject
attribute, dynamics, graphics, parameter, server
 
Constructor Summary
IPoint()
           
IPoint(double x, double y, double z)
           
IPoint(IPoint p)
           
IPoint(IServerI s)
           
IPoint(IServerI s, double x, double y, double z)
           
IPoint(IServerI s, IPoint p)
           
IPoint(IServerI s, IVec v)
           
IPoint(IServerI s, IVecI v)
           
IPoint(IVec v)
           
IPoint(IVecI v)
           
 
Method Summary
 IPoint add(double x, double y, double z)
           
 IPoint add(IDoubleI x, IDoubleI y, IDoubleI z)
           
 IPoint add(IVecI v)
           
 IPoint add(IVecI v, double f)
          scale add
 IPoint add(IVecI v, IDoubleI f)
           
 double angle(ISwitchE e, IVecI v)
           
 double angle(ISwitchE e, IVecI v, IVecI axis)
           
 IDouble angle(ISwitchR r, IVecI v)
           
 IDouble angle(ISwitchR r, IVecI v, IVecI axis)
           
 double angle(IVecI v)
           
 double angle(IVecI v, IVecI axis)
           
 IVec bisect(IVecI v)
           
 IPoint clr(java.awt.Color c)
           
 IPoint clr(java.awt.Color c, int alpha)
          to set color, with alpha value overwritten
 IPoint clr(double dgray)
           
 IPoint clr(double dgray, double dalpha)
           
 IPoint clr(double dr, double dg, double db)
           
 IPoint clr(double dr, double dg, double db, double da)
           
 IPoint clr(float fgray)
           
 IPoint clr(float fgray, float falpha)
           
 IPoint clr(float fr, float fg, float fb)
           
 IPoint clr(float fr, float fg, float fb, float fa)
           
 IPoint clr(int gray)
           
 IPoint clr(int gray, int alpha)
           
 IPoint clr(int r, int g, int b)
           
 IPoint clr(int r, int g, int b, int a)
           
 IPoint cp()
          cp() is alias of dup()
 IPoint cp(double x, double y, double z)
          cp() is alias of dup().add()
 IPoint cp(IDoubleI x, IDoubleI y, IDoubleI z)
           
 IPoint cp(IVecI v)
           
 IGraphicObject createGraphic(IGraphicMode m)
           
 IVec cross(IVecI v)
          cross product creates a new instance
 IVec diff(IVecI v)
           
 double dist(ISwitchE e, IVecI v)
           
 IDouble dist(ISwitchR r, IVecI v)
           
 double dist(IVecI v)
           
 double dist2(ISwitchE e, IVecI v)
           
 IDouble dist2(ISwitchR r, IVecI v)
           
 double dist2(IVecI v)
          squared distance
 IPoint div(double v)
           
 IPoint div(IDoubleI v)
           
 double dot(ISwitchE e, IVecI v)
           
 IDouble dot(ISwitchR r, IVecI v)
           
 double dot(IVecI v)
           
 IPoint dup()
          duplicate object
 boolean eq(ISwitchE e, IVecI v)
           
 boolean eq(ISwitchE e, IVecI v, double resolution)
           
 IBool eq(ISwitchR r, IVecI v)
           
 IBool eq(ISwitchR r, IVecI v, IDoubleI resolution)
           
 boolean eq(IVecI v)
          whether location is same or not
 boolean eq(IVecI v, double resolution)
           
 boolean eqX(ISwitchE e, IVecI v)
           
 boolean eqX(ISwitchE e, IVecI v, double resolution)
           
 IBool eqX(ISwitchR r, IVecI v)
           
 IBool eqX(ISwitchR r, IVecI v, IDoubleI resolution)
           
 boolean eqX(IVecI v)
           
 boolean eqX(IVecI v, double resolution)
           
 boolean eqY(ISwitchE e, IVecI v)
           
 boolean eqY(ISwitchE e, IVecI v, double resolution)
           
 IBool eqY(ISwitchR r, IVecI v)
           
 IBool eqY(ISwitchR r, IVecI v, IDoubleI resolution)
           
 boolean eqY(IVecI v)
           
 boolean eqY(IVecI v, double resolution)
           
 boolean eqZ(ISwitchE e, IVecI v)
           
 boolean eqZ(ISwitchE e, IVecI v, double resolution)
           
 IBool eqZ(ISwitchR r, IVecI v)
           
 IBool eqZ(ISwitchR r, IVecI v, IDoubleI resolution)
           
 boolean eqZ(IVecI v)
           
 boolean eqZ(IVecI v, double resolution)
           
 IPoint flip()
          alias of neg
 IVec get()
           
 double getSize()
           
 IDouble getX()
           
 IDouble getY()
           
 IDouble getZ()
           
 IPoint hide()
           
 IPoint hsb(double h, double s, double b)
           
 IPoint hsb(double h, double s, double b, double a)
           
 IPoint hsb(float h, float s, float b)
           
 IPoint hsb(float h, float s, float b, float a)
           
protected  void initPoint(IServerI s)
           
 boolean isValid()
          checking x, y, and z is valid number (not Infinite, nor NaN).
 IPoint layer(ILayer l)
           
 double len()
           
 IPoint len(double l)
           
 IPoint len(IDoubleI l)
           
 double len(ISwitchE e)
           
 IDouble len(ISwitchR r)
           
 double len2()
          square of length
 double len2(ISwitchE e)
           
 IDouble len2(ISwitchR r)
           
 IVec mid(IVecI v)
           
 IPoint mirror(IVecI planeDir)
          reflect (mirror) 3 dimensionally to the other side of the plane
 IPoint mirror(IVecI center, IVecI planeDir)
          reflect (mirror) 3 dimensionally to the other side of the plane
 IPoint mul(double v)
           
 IPoint mul(IDoubleI v)
           
 IPoint mv(double x, double y, double z)
          mv() is alias of add()
 IPoint mv(IDoubleI x, IDoubleI y, IDoubleI z)
           
 IPoint mv(IVecI v)
           
 IPoint name(java.lang.String nm)
           
 IPoint neg()
           
 IVec nml(IVecI v)
          alias of cross.
 IVec nml(IVecI pt1, IVecI pt2)
          create normal vector from 3 points of self, pt1 and pt2
 IPoint ref(IVecI planeDir)
          reflect (mirror) 3 dimensionally to the other side of the plane
 IPoint ref(IVecI center, IVecI planeDir)
          reflect (mirror) 3 dimensionally to the other side of the plane
 IPoint rev()
          alias of neg()
 IPoint rot(IVecI axis, double angle)
           
 IPoint rot(IVecI axis, IDoubleI angle)
           
 IPoint rot(IVecI axis, IVecI destDir)
          Rotate to destination direction vector.
 IPoint rot(IVecI center, IVecI axis, double angle)
           
 IPoint rot(IVecI center, IVecI axis, IDoubleI angle)
           
 IPoint rot(IVecI center, IVecI axis, IVecI destPt)
          Rotate to destination point location.
 IPoint scale(double f)
          alias of mul
 IPoint scale(IDoubleI f)
          alias of mul
 IPoint scale(IVecI center, double f)
           
 IPoint scale(IVecI center, IDoubleI f)
           
 IPoint scale1d(IVecI axis, double f)
          scale only in 1 direction
 IPoint scale1d(IVecI axis, IDoubleI f)
           
 IPoint scale1d(IVecI center, IVecI axis, double f)
           
 IPoint scale1d(IVecI center, IVecI axis, IDoubleI f)
           
 IPoint set(double x, double y, double z)
           
 IPoint set(IDoubleI x, IDoubleI y, IDoubleI z)
           
 IPoint set(IVecI v)
           
 IPoint setColor(java.awt.Color c)
           
 IPoint setColor(java.awt.Color c, int alpha)
           
 IPoint setColor(double dgray)
           
 IPoint setColor(double dgray, double dalpha)
           
 IPoint setColor(double dr, double dg, double db)
           
 IPoint setColor(double dr, double dg, double db, double da)
           
 IPoint setColor(float fgray)
           
 IPoint setColor(float fgray, float falpha)
           
 IPoint setColor(float fr, float fg, float fb)
           
 IPoint setColor(float fr, float fg, float fb, float fa)
           
 IPoint setColor(int gray)
           
 IPoint setColor(int gray, int alpha)
           
 IPoint setColor(int r, int g, int b)
           
 IPoint setColor(int r, int g, int b, int a)
           
 IPoint setHSBColor(double h, double s, double b)
           
 IPoint setHSBColor(double h, double s, double b, double a)
           
 IPoint setHSBColor(float h, float s, float b)
           
 IPoint setHSBColor(float h, float s, float b, float a)
           
 IPoint setSize(double sz)
          set size of dot in graphic
 IPoint shear(double sxy, double syx, double syz, double szy, double szx, double sxz)
          shear operation
 IPoint shear(IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
           
 IPoint shear(IVecI center, double sxy, double syx, double syz, double szy, double szx, double sxz)
           
 IPoint shear(IVecI center, IDoubleI sxy, IDoubleI syx, IDoubleI syz, IDoubleI szy, IDoubleI szx, IDoubleI sxz)
           
 IPoint shearXY(double sxy, double syx)
           
 IPoint shearXY(IDoubleI sxy, IDoubleI syx)
           
 IPoint shearXY(IVecI center, double sxy, double syx)
           
 IPoint shearXY(IVecI center, IDoubleI sxy, IDoubleI syx)
           
 IPoint shearYZ(double syz, double szy)
           
 IPoint shearYZ(IDoubleI syz, IDoubleI szy)
           
 IPoint shearYZ(IVecI center, double syz, double szy)
           
 IPoint shearYZ(IVecI center, IDoubleI syz, IDoubleI szy)
           
 IPoint shearZX(double szx, double sxz)
           
 IPoint shearZX(IDoubleI szx, IDoubleI sxz)
           
 IPoint shearZX(IVecI center, double szx, double sxz)
           
 IPoint shearZX(IVecI center, IDoubleI szx, IDoubleI sxz)
           
 IPoint show()
           
 double size()
           
 IPoint size(double sz)
           
 IPoint sub(double x, double y, double z)
           
 IPoint sub(IDoubleI x, IDoubleI y, IDoubleI z)
           
 IPoint sub(IVecI v)
           
 IVec sum(IVecI... v)
           
 IVec sum(IVecI v)
           
 IVec sum(IVecI v2, double w2)
           
 IVec sum(IVecI v2, double w1, double w2)
          weighted sum.
 IVec sum(IVecI v2, IDoubleI w2)
           
 IVec sum(IVecI v2, IDoubleI w1, IDoubleI w2)
           
 IVec2 to2d()
           
 IVec4 to4d()
           
 IVec4 to4d(double w)
           
 IVec4 to4d(IDoubleI w)
           
 java.lang.String toString()
           
 IPoint transform(IMatrix3I mat)
           
 IPoint transform(IMatrix4I mat)
           
 IPoint transform(IVecI xvec, IVecI yvec, IVecI zvec)
           
 IPoint transform(IVecI xvec, IVecI yvec, IVecI zvec, IVecI translate)
           
 IPoint translate(double x, double y, double z)
          translate is alias of add()
 IPoint translate(IDoubleI x, IDoubleI y, IDoubleI z)
           
 IPoint translate(IVecI v)
           
 IPoint unit()
           
 double x()
           
 double y()
           
 double z()
           
 
Methods inherited from class igeo.IObject
addDynamics, attr, attr, clearDynamics, clearGraphics, clr, del, deletDynamics, deleteDynamics, deleteDynamics, deleteGraphic, dynamicsNum, getColor, getDynamics, getGraphic, getGraphic, getParameter, graphicsNum, initGraphic, initObject, isVisible, layer, name, resetGraphic, server, setParameter, syncColor, updateGraphic, visible
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

pos

public IVec pos
Constructor Detail

IPoint

public IPoint()

IPoint

public IPoint(IVec v)

IPoint

public IPoint(IVecI v)

IPoint

public IPoint(double x,
              double y,
              double z)

IPoint

public IPoint(IServerI s)

IPoint

public IPoint(IServerI s,
              IVec v)

IPoint

public IPoint(IServerI s,
              IVecI v)

IPoint

public IPoint(IServerI s,
              double x,
              double y,
              double z)

IPoint

public IPoint(IPoint p)

IPoint

public IPoint(IServerI s,
              IPoint p)
Method Detail

initPoint

protected void initPoint(IServerI s)

createGraphic

public IGraphicObject createGraphic(IGraphicMode m)
Overrides:
createGraphic in class IObject

x

public double x()
Specified by:
x in interface IVecI

y

public double y()
Specified by:
y in interface IVecI

z

public double z()
Specified by:
z in interface IVecI

get

public IVec get()
Specified by:
get in interface IParameter
Specified by:
get in interface IVecI
Specified by:
get in interface IVecOp

dup

public IPoint dup()
Description copied from class: IObject
duplicate object

Specified by:
dup in interface ITransformable
Specified by:
dup in interface IVecI
Overrides:
dup in class IObject

to2d

public IVec2 to2d()
Specified by:
to2d in interface IVecI

to4d

public IVec4 to4d()
Specified by:
to4d in interface IVecI

to4d

public IVec4 to4d(double w)
Specified by:
to4d in interface IVecI

to4d

public IVec4 to4d(IDoubleI w)
Specified by:
to4d in interface IVecI

getX

public IDouble getX()
Specified by:
getX in interface IVecI

getY

public IDouble getY()
Specified by:
getY in interface IVecI

getZ

public IDouble getZ()
Specified by:
getZ in interface IVecI

set

public IPoint set(IVecI v)
Specified by:
set in interface IVecI

set

public IPoint set(double x,
                  double y,
                  double z)
Specified by:
set in interface IVecI

set

public IPoint set(IDoubleI x,
                  IDoubleI y,
                  IDoubleI z)
Specified by:
set in interface IVecI

add

public IPoint add(double x,
                  double y,
                  double z)
Specified by:
add in interface ITransformable
Specified by:
add in interface IVecI

add

public IPoint add(IDoubleI x,
                  IDoubleI y,
                  IDoubleI z)
Specified by:
add in interface ITransformable
Specified by:
add in interface IVecI

add

public IPoint add(IVecI v)
Specified by:
add in interface ITransformable
Specified by:
add in interface IVecI

sub

public IPoint sub(double x,
                  double y,
                  double z)
Specified by:
sub in interface ITransformable
Specified by:
sub in interface IVecI

sub

public IPoint sub(IDoubleI x,
                  IDoubleI y,
                  IDoubleI z)
Specified by:
sub in interface ITransformable
Specified by:
sub in interface IVecI

sub

public IPoint sub(IVecI v)
Specified by:
sub in interface ITransformable
Specified by:
sub in interface IVecI

mul

public IPoint mul(IDoubleI v)
Specified by:
mul in interface ITransformable
Specified by:
mul in interface IVecI

mul

public IPoint mul(double v)
Specified by:
mul in interface ITransformable
Specified by:
mul in interface IVecI

div

public IPoint div(IDoubleI v)
Specified by:
div in interface ITransformable
Specified by:
div in interface IVecI

div

public IPoint div(double v)
Specified by:
div in interface ITransformable
Specified by:
div in interface IVecI

neg

public IPoint neg()
Specified by:
neg in interface ITransformable
Specified by:
neg in interface IVecI

rev

public IPoint rev()
Description copied from interface: IVecI
alias of neg()

Specified by:
rev in interface IVecI

flip

public IPoint flip()
Description copied from interface: ITransformable
alias of neg

Specified by:
flip in interface ITransformable
Specified by:
flip in interface IVecI

add

public IPoint add(IVecI v,
                  double f)
Description copied from interface: ITransformable
scale add

Specified by:
add in interface ITransformable
Specified by:
add in interface IVecI

add

public IPoint add(IVecI v,
                  IDoubleI f)
Specified by:
add in interface ITransformable
Specified by:
add in interface IVecI

dot

public double dot(IVecI v)
Specified by:
dot in interface IVecI

dot

public double dot(ISwitchE e,
                  IVecI v)
Specified by:
dot in interface IVecI

dot

public IDouble dot(ISwitchR r,
                   IVecI v)
Specified by:
dot in interface IVecI

cross

public IVec cross(IVecI v)
Description copied from interface: IVecI
cross product creates a new instance

Specified by:
cross in interface IVecI

len

public double len()
Specified by:
len in interface IVecI

len

public double len(ISwitchE e)
Specified by:
len in interface IVecI

len

public IDouble len(ISwitchR r)
Specified by:
len in interface IVecI

len2

public double len2()
Description copied from interface: IVecI
square of length

Specified by:
len2 in interface IVecI

len2

public double len2(ISwitchE e)
Specified by:
len2 in interface IVecI

len2

public IDouble len2(ISwitchR r)
Specified by:
len2 in interface IVecI

len

public IPoint len(IDoubleI l)
Specified by:
len in interface IVecI

len

public IPoint len(double l)
Specified by:
len in interface IVecI

unit

public IPoint unit()
Specified by:
unit in interface IVecI

dist

public double dist(IVecI v)
Specified by:
dist in interface IVecI

dist

public double dist(ISwitchE e,
                   IVecI v)
Specified by:
dist in interface IVecI

dist

public IDouble dist(ISwitchR r,
                    IVecI v)
Specified by:
dist in interface IVecI

dist2

public double dist2(IVecI v)
Description copied from interface: IVecI
squared distance

Specified by:
dist2 in interface IVecI

dist2

public double dist2(ISwitchE e,
                    IVecI v)
Specified by:
dist2 in interface IVecI

dist2

public IDouble dist2(ISwitchR r,
                     IVecI v)
Specified by:
dist2 in interface IVecI

eq

public boolean eq(IVecI v)
Description copied from interface: IVecI
whether location is same or not

Specified by:
eq in interface IVecI

eq

public boolean eq(ISwitchE e,
                  IVecI v)
Specified by:
eq in interface IVecI

eq

public IBool eq(ISwitchR r,
                IVecI v)
Specified by:
eq in interface IVecI

eq

public boolean eq(IVecI v,
                  double resolution)
Specified by:
eq in interface IVecI

eq

public boolean eq(ISwitchE e,
                  IVecI v,
                  double resolution)
Specified by:
eq in interface IVecI

eq

public IBool eq(ISwitchR r,
                IVecI v,
                IDoubleI resolution)
Specified by:
eq in interface IVecI

eqX

public boolean eqX(IVecI v)
Specified by:
eqX in interface IVecI

eqY

public boolean eqY(IVecI v)
Specified by:
eqY in interface IVecI

eqZ

public boolean eqZ(IVecI v)
Specified by:
eqZ in interface IVecI

eqX

public boolean eqX(ISwitchE e,
                   IVecI v)
Specified by:
eqX in interface IVecI

eqY

public boolean eqY(ISwitchE e,
                   IVecI v)
Specified by:
eqY in interface IVecI

eqZ

public boolean eqZ(ISwitchE e,
                   IVecI v)
Specified by:
eqZ in interface IVecI

eqX

public IBool eqX(ISwitchR r,
                 IVecI v)
Specified by:
eqX in interface IVecI

eqY

public IBool eqY(ISwitchR r,
                 IVecI v)
Specified by:
eqY in interface IVecI

eqZ

public IBool eqZ(ISwitchR r,
                 IVecI v)
Specified by:
eqZ in interface IVecI

eqX

public boolean eqX(IVecI v,
                   double resolution)
Specified by:
eqX in interface IVecI

eqY

public boolean eqY(IVecI v,
                   double resolution)
Specified by:
eqY in interface IVecI

eqZ

public boolean eqZ(IVecI v,
                   double resolution)
Specified by:
eqZ in interface IVecI

eqX

public boolean eqX(ISwitchE e,
                   IVecI v,
                   double resolution)
Specified by:
eqX in interface IVecI

eqY

public boolean eqY(ISwitchE e,
                   IVecI v,
                   double resolution)
Specified by:
eqY in interface IVecI

eqZ

public boolean eqZ(ISwitchE e,
                   IVecI v,
                   double resolution)
Specified by:
eqZ in interface IVecI

eqX

public IBool eqX(ISwitchR r,
                 IVecI v,
                 IDoubleI resolution)
Specified by:
eqX in interface IVecI

eqY

public IBool eqY(ISwitchR r,
                 IVecI v,
                 IDoubleI resolution)
Specified by:
eqY in interface IVecI

eqZ

public IBool eqZ(ISwitchR r,
                 IVecI v,
                 IDoubleI resolution)
Specified by:
eqZ in interface IVecI

angle

public double angle(IVecI v)
Specified by:
angle in interface IVecI
Returns:
angle between two vector from 0 to Pi

angle

public double angle(ISwitchE e,
                    IVecI v)
Specified by:
angle in interface IVecI

angle

public IDouble angle(ISwitchR r,
                     IVecI v)
Specified by:
angle in interface IVecI

angle

public double angle(IVecI v,
                    IVecI axis)
Specified by:
angle in interface IVecI
axis - axis to determin sign of angle following right-handed screw rule.
Returns:
angle between two vector from -Pi to Pi. Sign follows right-handed screw rule along axis

angle

public double angle(ISwitchE e,
                    IVecI v,
                    IVecI axis)
Specified by:
angle in interface IVecI

angle

public IDouble angle(ISwitchR r,
                     IVecI v,
                     IVecI axis)
Specified by:
angle in interface IVecI

rot

public IPoint rot(IVecI axis,
                  IDoubleI angle)
Specified by:
rot in interface ITransformable
Specified by:
rot in interface IVecI

rot

public IPoint rot(IVecI axis,
                  double angle)
Specified by:
rot in interface ITransformable
Specified by:
rot in interface IVecI

rot

public IPoint rot(IVecI center,
                  IVecI axis,
                  double angle)
Specified by:
rot in interface ITransformable
Specified by:
rot in interface IVecI

rot

public IPoint rot(IVecI center,
                  IVecI axis,
                  IDoubleI angle)
Specified by:
rot in interface ITransformable
Specified by:
rot in interface IVecI

rot

public IPoint rot(IVecI axis,
                  IVecI destDir)
Rotate to destination direction vector.

Specified by:
rot in interface ITransformable
Specified by:
rot in interface IVecI

rot

public IPoint rot(IVecI center,
                  IVecI axis,
                  IVecI destPt)
Rotate to destination point location.

Specified by:
rot in interface ITransformable
Specified by:
rot in interface IVecI

scale

public IPoint scale(IDoubleI f)
alias of mul

Specified by:
scale in interface ITransformable
Specified by:
scale in interface IVecI

scale

public IPoint scale(double f)
alias of mul

Specified by:
scale in interface ITransformable
Specified by:
scale in interface IVecI

scale

public IPoint scale(IVecI center,
                    IDoubleI f)
Specified by:
scale in interface ITransformable
Specified by:
scale in interface IVecI

scale

public IPoint scale(IVecI center,
                    double f)
Specified by:
scale in interface ITransformable
Specified by:
scale in interface IVecI

scale1d

public IPoint scale1d(IVecI axis,
                      double f)
scale only in 1 direction

Specified by:
scale1d in interface ITransformable
Specified by:
scale1d in interface IVecI

scale1d

public IPoint scale1d(IVecI axis,
                      IDoubleI f)
Specified by:
scale1d in interface ITransformable
Specified by:
scale1d in interface IVecI

scale1d

public IPoint scale1d(IVecI center,
                      IVecI axis,
                      double f)
Specified by:
scale1d in interface ITransformable
Specified by:
scale1d in interface IVecI

scale1d

public IPoint scale1d(IVecI center,
                      IVecI axis,
                      IDoubleI f)
Specified by:
scale1d in interface ITransformable
Specified by:
scale1d in interface IVecI

ref

public IPoint ref(IVecI planeDir)
reflect (mirror) 3 dimensionally to the other side of the plane

Specified by:
ref in interface ITransformable
Specified by:
ref in interface IVecI

ref

public IPoint ref(IVecI center,
                  IVecI planeDir)
reflect (mirror) 3 dimensionally to the other side of the plane

Specified by:
ref in interface ITransformable
Specified by:
ref in interface IVecI

mirror

public IPoint mirror(IVecI planeDir)
reflect (mirror) 3 dimensionally to the other side of the plane

Specified by:
mirror in interface ITransformable
Specified by:
mirror in interface IVecI

mirror

public IPoint mirror(IVecI center,
                     IVecI planeDir)
reflect (mirror) 3 dimensionally to the other side of the plane

Specified by:
mirror in interface ITransformable
Specified by:
mirror in interface IVecI

shear

public IPoint shear(double sxy,
                    double syx,
                    double syz,
                    double szy,
                    double szx,
                    double sxz)
shear operation

Specified by:
shear in interface ITransformable
Specified by:
shear in interface IVecI

shear

public IPoint shear(IDoubleI sxy,
                    IDoubleI syx,
                    IDoubleI syz,
                    IDoubleI szy,
                    IDoubleI szx,
                    IDoubleI sxz)
Specified by:
shear in interface ITransformable
Specified by:
shear in interface IVecI

shear

public IPoint shear(IVecI center,
                    double sxy,
                    double syx,
                    double syz,
                    double szy,
                    double szx,
                    double sxz)
Specified by:
shear in interface ITransformable
Specified by:
shear in interface IVecI

shear

public IPoint shear(IVecI center,
                    IDoubleI sxy,
                    IDoubleI syx,
                    IDoubleI syz,
                    IDoubleI szy,
                    IDoubleI szx,
                    IDoubleI sxz)
Specified by:
shear in interface ITransformable
Specified by:
shear in interface IVecI

shearXY

public IPoint shearXY(double sxy,
                      double syx)
Specified by:
shearXY in interface ITransformable
Specified by:
shearXY in interface IVecI

shearXY

public IPoint shearXY(IDoubleI sxy,
                      IDoubleI syx)
Specified by:
shearXY in interface ITransformable
Specified by:
shearXY in interface IVecI

shearXY

public IPoint shearXY(IVecI center,
                      double sxy,
                      double syx)
Specified by:
shearXY in interface ITransformable
Specified by:
shearXY in interface IVecI

shearXY

public IPoint shearXY(IVecI center,
                      IDoubleI sxy,
                      IDoubleI syx)
Specified by:
shearXY in interface ITransformable
Specified by:
shearXY in interface IVecI

shearYZ

public IPoint shearYZ(double syz,
                      double szy)
Specified by:
shearYZ in interface ITransformable
Specified by:
shearYZ in interface IVecI

shearYZ

public IPoint shearYZ(IDoubleI syz,
                      IDoubleI szy)
Specified by:
shearYZ in interface ITransformable
Specified by:
shearYZ in interface IVecI

shearYZ

public IPoint shearYZ(IVecI center,
                      double syz,
                      double szy)
Specified by:
shearYZ in interface ITransformable
Specified by:
shearYZ in interface IVecI

shearYZ

public IPoint shearYZ(IVecI center,
                      IDoubleI syz,
                      IDoubleI szy)
Specified by:
shearYZ in interface ITransformable
Specified by:
shearYZ in interface IVecI

shearZX

public IPoint shearZX(double szx,
                      double sxz)
Specified by:
shearZX in interface ITransformable
Specified by:
shearZX in interface IVecI

shearZX

public IPoint shearZX(IDoubleI szx,
                      IDoubleI sxz)
Specified by:
shearZX in interface ITransformable
Specified by:
shearZX in interface IVecI

shearZX

public IPoint shearZX(IVecI center,
                      double szx,
                      double sxz)
Specified by:
shearZX in interface ITransformable
Specified by:
shearZX in interface IVecI

shearZX

public IPoint shearZX(IVecI center,
                      IDoubleI szx,
                      IDoubleI sxz)
Specified by:
shearZX in interface ITransformable
Specified by:
shearZX in interface IVecI

translate

public IPoint translate(double x,
                        double y,
                        double z)
translate is alias of add()

Specified by:
translate in interface ITransformable
Specified by:
translate in interface IVecI

translate

public IPoint translate(IDoubleI x,
                        IDoubleI y,
                        IDoubleI z)
Specified by:
translate in interface ITransformable
Specified by:
translate in interface IVecI

translate

public IPoint translate(IVecI v)
Specified by:
translate in interface ITransformable
Specified by:
translate in interface IVecI

transform

public IPoint transform(IMatrix3I mat)
Specified by:
transform in interface ITransformable
Specified by:
transform in interface IVecI

transform

public IPoint transform(IMatrix4I mat)
Specified by:
transform in interface ITransformable
Specified by:
transform in interface IVecI

transform

public IPoint transform(IVecI xvec,
                        IVecI yvec,
                        IVecI zvec)
Specified by:
transform in interface ITransformable
Specified by:
transform in interface IVecI

transform

public IPoint transform(IVecI xvec,
                        IVecI yvec,
                        IVecI zvec,
                        IVecI translate)
Specified by:
transform in interface ITransformable
Specified by:
transform in interface IVecI

mv

public IPoint mv(double x,
                 double y,
                 double z)
mv() is alias of add()

Specified by:
mv in interface ITransformable
Specified by:
mv in interface IVecI

mv

public IPoint mv(IDoubleI x,
                 IDoubleI y,
                 IDoubleI z)
Specified by:
mv in interface ITransformable
Specified by:
mv in interface IVecI

mv

public IPoint mv(IVecI v)
Specified by:
mv in interface ITransformable
Specified by:
mv in interface IVecI

cp

public IPoint cp()
cp() is alias of dup()

Specified by:
cp in interface ITransformable
Specified by:
cp in interface IVecI
Overrides:
cp in class IObject

cp

public IPoint cp(double x,
                 double y,
                 double z)
cp() is alias of dup().add()

Specified by:
cp in interface ITransformable
Specified by:
cp in interface IVecI

cp

public IPoint cp(IDoubleI x,
                 IDoubleI y,
                 IDoubleI z)
Specified by:
cp in interface ITransformable
Specified by:
cp in interface IVecI

cp

public IPoint cp(IVecI v)
Specified by:
cp in interface ITransformable
Specified by:
cp in interface IVecI

diff

public IVec diff(IVecI v)
Specified by:
diff in interface IVecI

mid

public IVec mid(IVecI v)
Specified by:
mid in interface IVecI

sum

public IVec sum(IVecI v)
Specified by:
sum in interface IVecI

sum

public IVec sum(IVecI... v)
Specified by:
sum in interface IVecI

bisect

public IVec bisect(IVecI v)
Specified by:
bisect in interface IVecI

sum

public IVec sum(IVecI v2,
                double w1,
                double w2)
weighted sum.

Specified by:
sum in interface IVecI
Returns:
IVec

sum

public IVec sum(IVecI v2,
                double w2)
Specified by:
sum in interface IVecI

sum

public IVec sum(IVecI v2,
                IDoubleI w1,
                IDoubleI w2)
Specified by:
sum in interface IVecI

sum

public IVec sum(IVecI v2,
                IDoubleI w2)
Specified by:
sum in interface IVecI

nml

public IVec nml(IVecI v)
alias of cross. (not unitized ... ?)

Specified by:
nml in interface IVecI

nml

public IVec nml(IVecI pt1,
                IVecI pt2)
create normal vector from 3 points of self, pt1 and pt2

Specified by:
nml in interface IVecI

isValid

public boolean isValid()
checking x, y, and z is valid number (not Infinite, nor NaN).

Specified by:
isValid in interface IVecI
Overrides:
isValid in class IObject

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setSize

public IPoint setSize(double sz)
set size of dot in graphic


size

public IPoint size(double sz)

getSize

public double getSize()

size

public double size()

name

public IPoint name(java.lang.String nm)
Overrides:
name in class IObject

layer

public IPoint layer(ILayer l)
Overrides:
layer in class IObject

hide

public IPoint hide()
Overrides:
hide in class IObject

show

public IPoint show()
Overrides:
show in class IObject

clr

public IPoint clr(java.awt.Color c)
Overrides:
clr in class IObject

clr

public IPoint clr(java.awt.Color c,
                  int alpha)
Description copied from class: IObject
to set color, with alpha value overwritten

Overrides:
clr in class IObject

clr

public IPoint clr(int gray)
Overrides:
clr in class IObject

clr

public IPoint clr(float fgray)
Overrides:
clr in class IObject

clr

public IPoint clr(double dgray)
Overrides:
clr in class IObject

clr

public IPoint clr(int gray,
                  int alpha)
Overrides:
clr in class IObject

clr

public IPoint clr(float fgray,
                  float falpha)
Overrides:
clr in class IObject

clr

public IPoint clr(double dgray,
                  double dalpha)
Overrides:
clr in class IObject

clr

public IPoint clr(int r,
                  int g,
                  int b)
Overrides:
clr in class IObject

clr

public IPoint clr(float fr,
                  float fg,
                  float fb)
Overrides:
clr in class IObject

clr

public IPoint clr(double dr,
                  double dg,
                  double db)
Overrides:
clr in class IObject

clr

public IPoint clr(int r,
                  int g,
                  int b,
                  int a)
Overrides:
clr in class IObject

clr

public IPoint clr(float fr,
                  float fg,
                  float fb,
                  float fa)
Overrides:
clr in class IObject

clr

public IPoint clr(double dr,
                  double dg,
                  double db,
                  double da)
Overrides:
clr in class IObject

hsb

public IPoint hsb(float h,
                  float s,
                  float b,
                  float a)
Overrides:
hsb in class IObject

hsb

public IPoint hsb(double h,
                  double s,
                  double b,
                  double a)
Overrides:
hsb in class IObject

hsb

public IPoint hsb(float h,
                  float s,
                  float b)
Overrides:
hsb in class IObject

hsb

public IPoint hsb(double h,
                  double s,
                  double b)
Overrides:
hsb in class IObject

setColor

public IPoint setColor(java.awt.Color c)
Overrides:
setColor in class IObject

setColor

public IPoint setColor(java.awt.Color c,
                       int alpha)
Overrides:
setColor in class IObject

setColor

public IPoint setColor(int gray)
Overrides:
setColor in class IObject

setColor

public IPoint setColor(float fgray)
Overrides:
setColor in class IObject

setColor

public IPoint setColor(double dgray)
Overrides:
setColor in class IObject

setColor

public IPoint setColor(int gray,
                       int alpha)
Overrides:
setColor in class IObject

setColor

public IPoint setColor(float fgray,
                       float falpha)
Overrides:
setColor in class IObject

setColor

public IPoint setColor(double dgray,
                       double dalpha)
Overrides:
setColor in class IObject

setColor

public IPoint setColor(int r,
                       int g,
                       int b)
Overrides:
setColor in class IObject

setColor

public IPoint setColor(float fr,
                       float fg,
                       float fb)
Overrides:
setColor in class IObject

setColor

public IPoint setColor(double dr,
                       double dg,
                       double db)
Overrides:
setColor in class IObject

setColor

public IPoint setColor(int r,
                       int g,
                       int b,
                       int a)
Overrides:
setColor in class IObject

setColor

public IPoint setColor(float fr,
                       float fg,
                       float fb,
                       float fa)
Overrides:
setColor in class IObject

setColor

public IPoint setColor(double dr,
                       double dg,
                       double db,
                       double da)
Overrides:
setColor in class IObject

setHSBColor

public IPoint setHSBColor(float h,
                          float s,
                          float b,
                          float a)
Overrides:
setHSBColor in class IObject

setHSBColor

public IPoint setHSBColor(double h,
                          double s,
                          double b,
                          double a)
Overrides:
setHSBColor in class IObject

setHSBColor

public IPoint setHSBColor(float h,
                          float s,
                          float b)
Overrides:
setHSBColor in class IObject

setHSBColor

public IPoint setHSBColor(double h,
                          double s,
                          double b)
Overrides:
setHSBColor in class IObject