Action:
|
Creates a new working coordinate system.
|
|
Prototype:
|
outcome api_wcs_create (
|
|
|
const SPAposition& origin,// origin of WCS
|
|
|
const SPAposition& xpt,
|
// position on x-axis
|
|
|
const SPAposition& ypt,
|
// position in positive
|
|
|
|
|
// xy-plane
|
|
|
WCS*& new_wcs,
|
// returns created WCS
|
|
|
AcisOptions* ao = NULL
|
// acis options
|
|
|
);
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/geomhusk/wcs.hxx"
|
|
#include "kernel/kernapi/api/api.hxx"
|
|
#include "kernel/kernapi/api/kernapi.hxx"
|
|
#include "baseutil/vector/position.hxx"
|
|
#include "kernel/kernapi/api/acis_options.hxx"
|
|
Description:
|
This API creates a new working coordinate system (new_wcs) with its origin at
origin, its
x-axis pointing toward
xpt, and its
y-axis pointing toward
ypt.
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/kernapi/api/kernapi.hxx
|
|
Effect:
|
Changes model
|