|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanar.Parametric
anar.Pt
public abstract class Pt

| Field Summary | |
|---|---|
static RenderPt |
globalRender
A default render node is provided for all the class. |
RenderPt |
render
Overide the globalRender. |
| Fields inherited from class anar.Parametric |
|---|
meta |
| Constructor Summary | |
|---|---|
Pt()
|
|
Pt(Pt p)
|
|
| Method Summary | |
|---|---|
Pt |
apply(Transform t)
|
XYZ[] |
bound()
|
XYZ |
boundCenter()
|
Pt |
copy()
|
static PtABS |
create(float x)
Anar.Pt(float) |
static PtABS |
create(float x,
float y)
Anar.Pt(float,float) |
static PtABS |
create(float x,
float y,
float z)
Anar.Pt(float,float,float) |
static PtABS |
create(float x,
float y,
float z,
java.lang.String name)
Anar.Pt(float,float,float,String) |
static PtABS |
create(Param x,
Param y)
Anar.Pt(float,float) |
static PtABS |
create(Param x,
Param y,
Param z)
Anar.Pt(float,float,float) |
static PtDER |
create(Pt p)
Anar.Pt(Pt) |
static PtDER |
create(Pt p,
java.lang.String name)
Anar.Pt(Pt,String) |
static PtDER |
create(Pt ori,
Transform t)
Anar.Pt(Pt,Transform) |
static PtDER |
create(Pt ori,
Transform t,
java.lang.String name)
Anar.Pt(Pt,Transform) |
static Pt |
create(Vertex t)
|
static PtABS |
create(XYZ p)
Anar.Pt(XYZ) |
static PtABS |
createNull(float x,
float y,
float z)
Anar.PtNull(float,float,float) |
static Pt |
createRnd(int x)
Anar.PtRnd(float) |
static Pt |
createRnd(int x,
int y)
Anar.PtRnd(float,float) |
static Pt |
createRnd(int x,
int y,
int z)
Anar.PtRnd(float,float,float) |
PtDER |
divide(float kk)
|
PtDER |
divide(float k,
float l)
|
PtDER |
divide(float k,
float l,
float m)
|
PtDER |
divide(XYZ p)
|
float |
dot(XYZ v)
|
static float |
dot(XYZ v0,
XYZ v1)
|
void |
draw()
Call draw() from the render (might have been changed) |
boolean |
equalsPt(XYZ v)
|
boolean |
equalsPt(XYZ v,
float clamping)
|
void |
fill(AColor c)
|
void |
fill(float g)
|
void |
fill(float g,
float a)
|
void |
fill(float r,
float g,
float b)
|
void |
fill(float r,
float g,
float b,
float a)
|
void |
fill(RenderPtCross c)
|
void |
fillP5(int c)
|
Transform |
getTransform()
|
boolean |
isOver()
Test if the mouse is over this coordinate. |
boolean |
isOver(float dist)
Test if the mouse is over this coordinate. |
float |
length()
|
float |
length(XYZ p)
|
static float |
length(XYZ p,
XYZ q)
|
static float |
lengthNoSq(XYZ p,
XYZ q)
|
float |
lengthSq()
|
float |
lengthSq(XYZ p)
|
PtDER |
minus(float k)
|
PtDER |
minus(float k,
float l)
|
PtDER |
minus(float k,
float l,
float m)
|
PtDER |
minus(Pt p)
|
PtDER |
minus(XYZ p)
|
PtDER |
multiply(float k)
|
PtDER |
multiply(float k,
float l)
|
PtDER |
multiply(float k,
float l,
float m)
|
PtDER |
multiply(Pt p)
|
PtDER |
multiply(XYZ p)
|
Vertex |
onScreen()
|
Pt |
orphaned()
Export the geometry without any Parametric features. |
PtDER |
plus(float k)
|
PtDER |
plus(float k,
float l)
|
PtDER |
plus(float k,
float l,
float m)
|
PtDER |
plus(Pt p)
|
java.lang.String |
plus(java.lang.String s)
|
PtDER |
plus(XYZ p)
|
Pt |
render(RenderPt render)
Change the render for this object. |
Pt |
rotateX(float x)
|
Pt |
rotateX(Param v)
|
Pt |
rotateY(float y)
|
Pt |
rotateY(Param v)
|
Pt |
rotateZ(float z)
|
Pt |
rotateZ(Param v)
|
Pt |
scale(float x)
|
Pt |
scale(float x,
float y)
|
Pt |
scale(float x,
float y,
float z)
|
Pt |
scale(Param x)
|
Pt |
scale(Param x,
Param y)
|
Pt |
scale(Param x,
Param y,
Param z)
|
Pt |
scale(Pt p)
|
Pt |
scale(XYZ p)
|
Pt |
scaleX(float x)
|
Pt |
scaleX(Param x)
|
Pt |
scaleY(float y)
|
Pt |
scaleY(Param y)
|
Pt |
scaleZ(float z)
|
Pt |
scaleZ(Param z)
|
void |
set(float x)
|
void |
set(float x,
float y)
|
void |
set(float x,
float y,
float z)
|
Pt |
set(Meta meta)
|
void |
set(Param x)
|
void |
set(Param x,
Param y)
|
void |
set(Param x,
Param y,
Param z)
|
Pt |
set(Transform _t)
|
void |
set(XYZ p)
|
Pt |
setMeta(Meta meta)
|
Pt |
tag(Meta tag)
|
Pt |
tag(java.lang.String tag)
|
java.lang.String |
toANSYS()
|
java.lang.String |
toAutocad()
|
java.lang.String |
toAutocadPart()
|
java.lang.String |
toMegaPPOV()
|
java.lang.String |
toObjExporter()
|
java.lang.String |
toObjExporterAsObject()
|
java.lang.String |
toPovRay()
|
java.lang.String |
toPovRayAsObject()
|
java.lang.String |
toRadiance()
|
java.lang.String |
toRadianceAsObject()
Export a Pt to Radiance as a sphere Output example: |
java.lang.String |
toRhino()
|
java.lang.String |
toRhinoAsObject()
|
java.lang.String |
toRhinoAsVar()
|
java.lang.String |
toShortString()
|
java.lang.String |
toSingleName()
|
java.lang.String |
toSketchUp()
|
java.lang.String |
toSketchUpAsPoint3D()
|
java.lang.String |
toString()
|
java.lang.String |
toStringComa()
|
java.lang.String |
toStringComaPovRay()
|
java.lang.String |
toStringTab()
|
java.lang.String |
toStringTabRad()
|
Pt |
translate(float x,
float y)
|
Pt |
translate(float x,
float y,
float z)
|
Pt |
translate(Param x,
Param y)
|
Pt |
translate(Param x,
Param y,
Param z)
|
Pt |
translate(Pt p)
|
Pt |
translate(XYZ p)
|
Pt |
translateX(float x)
|
Pt |
translateX(Param x)
|
Pt |
translateY(float y)
|
Pt |
translateY(Param y)
|
Pt |
translateZ(float z)
|
Pt |
translateZ(Param z)
|
float |
x()
getter. |
void |
x(float x)
|
void |
x(Param x)
|
float |
y()
|
void |
y(float y)
|
void |
y(Param y)
|
float |
z()
|
void |
z(float z)
|
void |
z(Param z)
|
| Methods inherited from class anar.Parametric |
|---|
child, get, getMeta, getPrimitive, parent, parent, parentList, parentList, parentList, parentListGraphViz, parentListGraphViz, parentListRecursive, parentListRecursiveGraphViz, parentToString, parentToStringRecursive, parentToStringRecursive, primitiveToString, replaceParent, replaceParent, replicate, tag |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static RenderPt globalRender
public RenderPt render
| Constructor Detail |
|---|
public Pt()
public Pt(Pt p)
| Method Detail |
|---|
public Transform getTransform()
@Deprecated public static PtABS create(float x, float y, float z)
Anar.Pt(float,float,float)
#Pt(float,float,float)@Deprecated public static PtABS create(XYZ p)
Anar.Pt(XYZ)
Anar.Pt(XYZ)@Deprecated public static PtABS create(float x, float y, float z, java.lang.String name)
Anar.Pt(float,float,float,String)
Anar.Pt(float,float,float,String)@Deprecated public static PtABS create(Param x, Param y)
Anar.Pt(float,float)
Anar.Pt(float,float,float)@Deprecated public static PtABS create(Param x, Param y, Param z)
Anar.Pt(float,float,float)
Anar.Pt(float,float,float)@Deprecated public static PtABS create(float x, float y)
Anar.Pt(float,float)
Anar.Pt(float,float)@Deprecated public static PtABS create(float x)
Anar.Pt(float)
Anar.Pt(float)@Deprecated public static PtDER create(Pt p)
Anar.Pt(Pt)
Anar.Pt(Pt)@Deprecated public static PtDER create(Pt p, java.lang.String name)
Anar.Pt(Pt,String)
Anar.Pt(Pt,String)@Deprecated public static PtDER create(Pt ori, Transform t)
Anar.Pt(Pt,Transform)
Anar.Pt(Pt,Transform)@Deprecated public static PtDER create(Pt ori, Transform t, java.lang.String name)
Anar.Pt(Pt,Transform)
Anar.Pt(Pt,Transform)@Deprecated public static PtABS createNull(float x, float y, float z)
Anar.PtNull(float,float,float)
Anar.PtNull(float,float,float)@Deprecated public static Pt createRnd(int x, int y, int z)
Anar.PtRnd(float,float,float)
Anar.PtNull(float,float,float)@Deprecated public static Pt createRnd(int x, int y)
Anar.PtRnd(float,float)
anar.Anar#PtNull(float,float)@Deprecated public static Pt createRnd(int x)
Anar.PtRnd(float)
anar.Anar#PtNull(float)public float x()
x in interface XYZpublic float y()
y in interface XYZpublic float z()
z in interface XYZpublic void draw()
draw in interface XYZpublic void fill(float g)
public void fill(float g,
float a)
public void fill(float r,
float g,
float b)
public void fill(float r,
float g,
float b,
float a)
public void fillP5(int c)
public void fill(AColor c)
public void fill(RenderPtCross c)
public Pt render(RenderPt render)
render -
public Vertex onScreen()
public boolean isOver(float dist)
dist - - Minimal distance near the point.
public boolean isOver()
public Pt orphaned()
@Deprecated public Pt set(Transform _t)
_t - public Pt rotateX(float x)
public Pt rotateY(float y)
public Pt rotateZ(float z)
public Pt rotateX(Param v)
public Pt rotateY(Param v)
public Pt rotateZ(Param v)
public Pt scale(float x,
float y,
float z)
public Pt scale(XYZ p)
public Pt scale(Pt p)
public Pt scale(float x)
public Pt scale(float x,
float y)
public Pt scale(Param x,
Param y,
Param z)
public Pt scale(Param x,
Param y)
public Pt scale(Param x)
public Pt scaleX(float x)
public Pt scaleX(Param x)
public Pt scaleY(float y)
public Pt scaleY(Param y)
public Pt scaleZ(float z)
public Pt scaleZ(Param z)
public Pt translate(float x,
float y,
float z)
public Pt translate(XYZ p)
public Pt translate(Pt p)
public Pt translate(float x,
float y)
public Pt translate(Param x,
Param y,
Param z)
public Pt translate(Param x,
Param y)
public Pt translateX(float x)
public Pt translateX(Param x)
public Pt translateY(float y)
public Pt translateY(Param y)
public Pt translateZ(float z)
public Pt translateZ(Param z)
public Pt apply(Transform t)
public PtDER multiply(float k,
float l,
float m)
multiply in interface iArithmetic
public PtDER multiply(float k,
float l)
multiply in interface iArithmeticpublic PtDER multiply(float k)
multiply in interface iArithmeticpublic PtDER multiply(XYZ p)
multiply in interface iArithmeticpublic PtDER multiply(Pt p)
public PtDER divide(float k,
float l,
float m)
divide in interface iArithmetic
public PtDER divide(float k,
float l)
divide in interface iArithmeticpublic PtDER divide(float kk)
divide in interface iArithmeticpublic PtDER divide(XYZ p)
divide in interface iArithmeticpublic PtDER plus(XYZ p)
plus in interface iArithmeticpublic PtDER plus(Pt p)
public PtDER plus(float k,
float l,
float m)
plus in interface iArithmetic
public PtDER plus(float k,
float l)
plus in interface iArithmeticpublic PtDER plus(float k)
plus in interface iArithmeticpublic PtDER minus(XYZ p)
minus in interface iArithmeticpublic PtDER minus(Pt p)
public PtDER minus(float k,
float l,
float m)
minus in interface iArithmetic
public PtDER minus(float k,
float l)
minus in interface iArithmeticpublic PtDER minus(float k)
minus in interface iArithmetic
public void set(float x,
float y,
float z)
set in interface XYZ
public void set(float x,
float y)
set in interface XYZpublic void set(float x)
set in interface XYZ
public void set(Param x,
Param y,
Param z)
set in interface XYZ
public void set(Param x,
Param y)
set in interface XYZpublic void set(Param x)
set in interface XYZpublic void set(XYZ p)
set in interface XYZpublic void x(float x)
x in interface XYZpublic void x(Param x)
x in interface XYZpublic void y(float y)
y in interface XYZpublic void y(Param y)
y in interface XYZpublic void z(float z)
z in interface XYZpublic void z(Param z)
z in interface XYZpublic Pt set(Meta meta)
set in interface iTaggablepublic Pt setMeta(Meta meta)
setMeta in interface iTaggablepublic Pt tag(java.lang.String tag)
tag in interface iTaggablepublic Pt tag(Meta tag)
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String plus(java.lang.String s)
public java.lang.String toShortString()
public java.lang.String toAutocad()
public java.lang.String toAutocadPart()
public java.lang.String toMegaPPOV()
public java.lang.String toPovRay()
public java.lang.String toPovRayAsObject()
public java.lang.String toRadiance()
public java.lang.String toRadianceAsObject()
material sphere name
0
0
4 1454.1045 140.25954 0 25
public java.lang.String toANSYS()
public java.lang.String toRhino()
public java.lang.String toRhinoAsVar()
public java.lang.String toRhinoAsObject()
public java.lang.String toStringTab()
public java.lang.String toStringTabRad()
public java.lang.String toStringComa()
public java.lang.String toStringComaPovRay()
public java.lang.String toSketchUp()
public java.lang.String toSingleName()
public java.lang.String toSketchUpAsPoint3D()
public java.lang.String toObjExporter()
public java.lang.String toObjExporterAsObject()
public static Pt create(Vertex t)
t -
public float length()
length in interface XYZpublic float lengthSq()
lengthSq in interface XYZpublic float length(XYZ p)
length in interface XYZpublic float lengthSq(XYZ p)
lengthSq in interface XYZ
public static float length(XYZ p,
XYZ q)
public static float lengthNoSq(XYZ p,
XYZ q)
public static float dot(XYZ v0,
XYZ v1)
public float dot(XYZ v)
dot in interface XYZ
public boolean equalsPt(XYZ v,
float clamping)
public boolean equalsPt(XYZ v)
equalsPt in interface XYZpublic XYZ[] bound()
public XYZ boundCenter()
public Pt copy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||