
w2u(p1)
Converts point p1 expressed in the WCS to the current UCS.
You can use
w2u
to find the WCS origin in terms of the current UCS:
w2u([0,0,0])
Filtering the X, Y, and Z Components of a Point or Vector
The following functions filter the X, Y, and Z components of a point or vector.
Point-filter functions
Description
Function
X and Y components of a point; Z component is set to 0.0
xyof(p1)
X and Z components of a point; Y component is set to 0.0
xzof(p1)
Y and Z components of a point; X component is set to 0.0
yzof(p1)
X component of a point; Y and Z components are set to 0.0
xof(p1)
Y component of a point; X and Z components are set to 0.0
yof(p1)
Z component of a point; X and Y components are set to 0.0
zof(p1)
X component of a point
rxof(p1)
Y component of a point
ryof(p1)
Z component of a point
rzof(p1)
The following example provides the Z component of a point expressed in
spherical coordinates:
zof([2<45<45])
The following example provides a point whose X and Y coordinate values are
taken from point a and the Z coordinate value from point b:
xyof(a)+zof(b)
Calculate a Point on a Line
The
plt
and
pld
functions return a point on a given line. You can specify the
position of the point on the line either by its distance from the first point or
parametrically by a t parameter.
Calculate a Point on a Line | 199
Summary of Contents for AUTOCAD 2006
Page 1: ...February 2005 AutoCAD 2006 Command Reference ...
Page 24: ......
Page 30: ...6 ...
Page 212: ...188 ...
Page 448: ...424 ...
Page 554: ...530 ...
Page 584: ...560 ...
Page 588: ...564 ...
Page 660: ...636 ...
Page 750: ...726 ...
Page 760: ...736 ...
Page 960: ...936 ...
Page 1194: ...1170 ...
Page 1244: ...Undo Reverses the most recent change made by TRIM 1220 Chapter 21 ...
Page 1310: ...1286 ...
Page 1328: ...1304 ...
Page 1354: ...Zoom Window Zooms to display an area specified by a rectangular window 1330 Chapter 26 ...
Page 1490: ......