CG Format


INDEX

-Right Parallelepiped(RPP)

-Right Circular Cylinder(RCC)

-Sphere(SPH)

-Truncated Right Cone(TRC)

-Torus(TOR)

-Box(BOX)

-Right Elliptical Cylinder(REC)

-Truncated Elliptical Cylinder(TEC)

-Ellipsoid(ELL)

-Wedge(WED)

-Arbitrary Polyhedron(ARB)

-Harf Space with a planer surface(HAF)

-Hexagonal Prism(HEX)

-General Ellipsoid(GEL)


<< Right Parallelepiped(RPP) >>

[ Format ] Xmin(1) Xmax(2) Ymin(3) Ymax(4) Zmin(5) Zmax(6)

(causion) Number in ( ) is parameter number in Make Geometry.(1) is input Parameter Column 1 in table.(and so fourth)

Xmin,Xmax : termimi of box sides normal to X

Ymin,Ymax : termimi of box sides normal to Y

Zmin,Zmax : termimi of box sides normal to Z

[sample]


<< Right Circular Cylinder(RCC) >>

[ Format ] Px(1) Py(2) Pz(3) Hx(4) Hy(5) Hz(6) R(7)

Px,Py,Pz : X,Y,Z coordinates of center of base

Hx,Hy,Hz : cylinder axis vector

R : Radius

[samplpe]


<< Sphere(SPH) >>

[ Format ] Px(1) Py(2) Pz(3) R(4)

Px,Py,Pz : X,Y,Z coordinates of center

R : Radius

[sample]


<< Truncated Right Cone(TRC) >>

[ Format ] Px(1) Py(2) Pz(3) Hx(4) Hy(5) Hz(6) R1(7) R2(8)

Px,Py,Pz : X,Y,Z coordinates of center of Cone Bottom

Hx,Hy,Hz : cone axis height vector

R1 : radius of lower cone base

R2 : radius of upper cone base

[sample]

to R1


<< Torus(TOR) >>

[ Format ] Px(1) Py(2) Pz(3) R1(4) R2(5) th1(6) th2(7) ax(8)

Px,Py,Pz : X,Y,Z coordinates of center of Torus

R1 : ring radius

R2 : pipe radius

th1,th2 : start angle, end angle (Degree)

ax : center axis(1=X 2=Y 3=Z)

[sample]


<< Box(BOX) >>

[ Format ] Px(1) Py(2) Pz(3) A1x(4) A1y(5) A1z(6) A2x(7) A2y(8) A2z(9) A3x(10) A3y(11) A3z(12)

Px,Py,Pz : X,Y,Z Coordinates of corner

A1x,A1y,A1z : vector of 1st Side

A2x,A2y,A2z : vector of 2nd Side

A3x,A3y,A3z : vector of 3rd Side

[sample]


<< Right Elliptical Cylinder(REC) >>

[ Format ] Px(1) Py(2) Pz(3) Hx(4) Hy(5) Hz(6) R1x(7) R1y(8) R1z(9) R2x(10) R2y(11) R3z(12)

Px,Py,Pz : X,Y,Z coordinates of cylinder bottom

Hx,Hy,Hz : cylinder axis height vector

R1x,R1y,R1z : ellipse major axis vector(normal to Hx,Hy,Hz)

R2x,R2y,R2z : ellipse minor axis vector(orthogonal to Hx,Hy,Hz)

[sample]


<< Truncated Elliptical Cylinder(TEC) >>

[ Format ] Px(1) Py(2) Pz(3) Hx(4) Hy(5) Hz(6) R1x(7) R1y(8) R1z(9) R2x(10) R2y(11) R3z(12) w(13)

Px,Py,Pz : X,Y,Z coordinates of cylinder bottom

Hx,Hy,Hz : cylinder axis height vector

R1x,R1y,R1z : ellipse major axis vector(normal to Hx,Hy,Hz)

R2x,R2y,R2z : ellipse minor axis vector(orthogonal to Hx,Hy,Hz)

w : ratio = top/bottom

[sample]


<< Ellipsoid(ELL) >>

[ Format ] P1x(1) P1y(2) P1z(3) P2x(4) P2y(5) P2z(6) R(7)

P1x,P1y,P1z : 1st foci coordinate

P2x,P2y,P2z : 2nd foci coordinate

R : length of major axis

[sample]


<< Wedge(WED) >>

[ Format ] Px(1) Py(2) Pz(3) A1x(4) A1y(5) A1z(6) A2x(7) A2y(8) A2z(9) A3x(10) A3y(11) A3z(12)

Px,Py,Pz : X,Y,Z coordinates of wedge vertex

A1x,A1y,A1z: vector 1st side of triangler base

A2x,A2y,A2z: vector 2nd side of triangler base

A3x,A3y,A3z: height vector

[sample]


<< Arbitrary Polyhedron(ARB) >>

[ Format ] P1x(1) P1y(2) P1z(3) P2x(4) P2y(5) P2z(6) P3x(7) P3y(8) P3z(9) P4x(10)

           P4y(11) P4z(12) P5x(13) P5y(14) P5z(15) P6x(16) P6y(17) P6z(18) P7x(19) P7y(20)

           P7z(21) P8x(22) P8y(23) P8z(24) S1(25) S2(26) S3(27) S4(28) S5(29) S6(30)

P1x,P1y,P1z : X,Y,Z coordinates of 1st corner of polyhedron

P2x,P2y,P2z : X,Y,Z coordinates of 2nd corner of polyhedron

P3x,P3y,P3z : X,Y,Z coordinates of 3rd corner of polyhedron

P4x,P4y,P4z : X,Y,Z coordinates of 4th corner of polyhedron

P5x,P5y,P5z : X,Y,Z coordinates of 5th corner of polyhedron

P6x,P6y,P6z : X,Y,Z coordinates of 6th corner of polyhedron

P7x,P7y,P7z : X,Y,Z coordinates of 7th corner of polyhedron

P8x,P8y,P8z : X,Y,Z coordinates of 8th corner of polyhedron

S1,S2,S3,S4,S5,S6 : four-digit number describing a side of the polyhedron in terms of it's corresponding two corners.(e.g. S1=1278 is a plane / side bounded by corners 1,2,7 & 8)

[sample]


<< Harf Space with a planer surface(HAF) >>

[ Format ] Nx(1) Ny(2) Nz(3) L(4)

Nx,Ny,Nz : vector of inner region

L : length of the coordinate axes pallarel to N

[sample]


<< Hexagonal Prism(HEX) >>

[ Format ] Px(1) Py(2) Pz(3) Hx(4) Hy(5) Hz(6) W(7) Ax(8) Ay(9) Az(10)

Px,Py,Pz : X,Y,Z coordinates of the bottom of the hex

Hx,Hy,Hz : vector from the bottom to the top

W : width of the hex

Ax,Ay,Az : vector of normal surface

[sample]


<< General Ellipsoid(GEL) >>

[ Format ] Px(1) Py(2) Pz(3) A1x(4) A1y(5) A1z(6) A2x(7) A2y(8) A2z(9) A3x(10) A3y(11) A3z(12)

Px,Py,Pz : X,Y,Z coordinates of center

A1x,A1y,A1z : 1st foci coordinate

A2x,A2y,A2z : 2nd foci coordinate

A3x,A3y,A3z : 3rd foci coordinate

[sample]