UF_FORGEO_forsurf_s (查看源代码)
 
定义在: uf_forgeo.h
 
也被称为:
 
概述
Structure defining the foreign surface.

In the foreign surface structure, the transformation matrix operates as a
post-multiplier on row vectors containing homogenous coordinates as:

(x',y',z',s') = (x,y,z,s)T

where the conventional 3D coordinates are

(x/s,y/s,z/s).

The matrix consists of

0
R 0
0
Tx Ty Tz S

R = a non singular transformation matrix. This matrix contains the rotation,
reflection, local scaling and shearing components.

T = a translation vector

S = a scaling factor that has to be greater than zero.

The subscripts of "transform" corresponding to the above form are:

[0][0] [1][0] [2][0] [3][0]
[0][1] [1][1] [2][1] [3][1]
[0][2] [1][2] [2][2] [3][2]
[0][3] [1][3] [2][3] [3][3]

After initializing the foreign surface data structure you will use

UF_BREP functions to create a body from the surface data.

参见
description


Data Members

char_data
char *
character string data for surface

nspace
int
space required by surface loader, in doubles
used to define length of "fg_data"
input to registered functions

num_ints
int
number of integers defining surface

int_array
int *
array of integers for surface

num_doubles
int
number of doubles defining surface

double_array
double *
array of doubles for surface

transform [ 4 ] [ 4 ]
double
4x4 transformation array
the "perspective" elements must be 0.0