Rapid-Q Documentation by William Yu (c)1999, John Kelly Appendix B: QD3DVECTOR

QD3DVECTOR Component

QD3DVector implements D3DVector. This is a user defined type with x,y,z elements for defining vertices, 3-D points or whatever you need for xyz coordinates. This is actually a UNION. What is a UNION? Basically two elements in the user defined type occupy the same location in memory. So you can read/write only one of the members. For example:
DIM V3D AS QD3DVector
V3D.DVX = 1.5     'note  V3D.X will be the same as V3D.DVX !

QD3DVector Properties
FieldTypeR/WDefault




DVXSINGLERW
DVYSINGLERW
DVZSINGLERW
XSINGLE      (UNION with DVX)RW
YSINGLE      (UNION with DVY)RW
ZSINGLE      (UNION with DVZ)RW

QD3DVector Methods
MethodTypeDescriptionParams





QD3DVector Events
EventTypeOccurs when...Params






QD3DVector Examples
Prev Component Contents Next Component