jvx.geom
Class PgFrame
java.lang.Object
|
+--jv.object.PsObject
|
+--jvx.geom.PgFrame
- All Implemented Interfaces:
- java.lang.Cloneable, PsUpdateIf, java.io.Serializable
- public class PgFrame
- extends PsObject
Moving frame along curves (pending: and surfaces) in R^3.
- Version:
- 01.04.00, 2.00 revised (kp) Moved from package jv.rsrc to jvx.rsrc.
00.00.98, 1.00 created (kp)
- Author:
- Konrad Polthier
- See Also:
- Serialized Form
| Fields inherited from class jv.object.PsObject |
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, NUM_TAGS |
|
Constructor Summary |
PgFrame(int aDim)
|
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, copy, getFather, getInfoPanel, getInspector, getName, getNumObjects, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, toString, update, updatePanels |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
base
public PdVector base
- Base point.
e1
public PdVector e1
- Tangent direction.
e2
public PdVector e2
- Other orthog. tangent dir. (in case of surfaces).
e3
public PdVector e3
- Surface normal (in case of surfaces).
PgFrame
public PgFrame(int aDim)
realloc
public static PgFrame[] realloc(PgFrame[] data,
int arraySize,
int aDim)
init
public void init()
- Description copied from class:
PsObject
- If instance has missing name then assign default name 'object_NUMBER' where
number is the total number of already created instances.
- Overrides:
init in class PsObject
copy
public void copy(PgFrame aFrame)
copyVectors
public void copyVectors(PgFrame aFrame)
leftMultMatrix
public void leftMultMatrix(PdMatrix aMatrix)
leftMultMatrix
public void leftMultMatrix(PdMatrix aMatrix,
PgFrame aFrame)
blend
public boolean blend(double s,
PgFrame a,
double t,
PgFrame b)
parallelTranslate
public void parallelTranslate(PgFrame oldFrame,
PgFrame vertexFrame,
PdVector newVertex,
PdVector newEdge)
- Parallel translate a frame along a polygonal curve in R^3.
The vertexFrame is the resulting frame at the given vertex.
This frame object is used to store a frame at the current vertex
whose e1 direction is parallel to the newEdge, i.e. this frame
can be used as the oldFrame for another call of this method
to compute the frame at the next vertex.
- Parameters:
oldFrame - frame at previous vertex with e1 parallel to previous edge.vertexFrame - frame at current vertex, this is the actual result.this - frame at current vertex with e1 parallel to new edge.newVertex - current vertex where to compute the frame.newEdge - edge outgoing from current vertex.
The software JavaView® is copyright protected. All Rights Reserved.