std-maptrans01, std-maptrans10


Synopsis

(std-maptrans01 <pts>) ; transform a pointlist to UCS

(std-maptrans10 <pts>) ; transform a pointlist to WCS

Description

They transform a list of points between the UCS and the WCS, just as the general function TRANS, but suitable for list functions

STD-MAPTRANS01 transforms from WCS to UCS

STD-MAPTRANS10 transforms from UCS to WCS

Examples:

(defun STD-MAPTRANS01 (pts)
  (mapcar (function std-trans01) pts))
(defun STD-MAPTRANS10 (pts)
  (mapcar (function std-trans10) pts))

(std-maptrans01 (std-getpts pline))

Arguments

pts: A list of points, either 2D or 3D. A point is a list of 2 or 3 numbers.

Return Value

A list of 3D points.

Side Effects

None.

Module

(std-require 'STDPOINT)

Defined in STDPOINT

Note: Before version 0.4001 it was in STDENT!