Difference between revisions of "ObjectType:point3f"
Jump to navigation
Jump to search
m (DataType:point3f moved to ObjectType:point3f) |
|||
Line 5: | Line 5: | ||
*[[DataType:floatptr|floatptr]] '''Y''': Y coordinate | *[[DataType:floatptr|floatptr]] '''Y''': Y coordinate | ||
*[[DataType:floatptr|floatptr]] '''Z''': Z coordinate | *[[DataType:floatptr|floatptr]] '''Z''': Z coordinate | ||
+ | *[[DataType:string|string]] '''XYZ''': concatenated XYZ string, separated by commas | ||
+ | *[[DataType:string|string]] '''XYZ[#]''': concatenated XYZ string, separated by given field separator character | ||
== Methods == | == Methods == |
Revision as of 08:00, 10 June 2008
Contents
Description
Members
- floatptr X: X coordinate
- floatptr Y: Y coordinate
- floatptr Z: Z coordinate
- string XYZ: concatenated XYZ string, separated by commas
- string XYZ[#]: concatenated XYZ string, separated by given field separator character
Methods
- Set[X]: Sets x to a given value
- Set[X,Y]: Sets x,y to a given value
- Set[X,Y,Z]: Sets x,y,z to a given value
Returns
NULL
Examples
Declare a point3f variable
- declare coord1 point3f
- Note: You cannot set X,Y,Z at declaration
Set all 3 values in a point3f variable
- coord1:Set[3982.32,3924.12,4999.91]
Set just X value
- coord1:Set[5892.33]
Copy coordinates from one variable to another
- coord2:Set[${coord1.X},${coord1.Y},${coord1.Z}]
Operates On
_Point3f *
See lsmodule.h