![]() |
PK_GOOPSG_f_t |
typedef void (*PK_GOOPSG_f_t) ( --- received arguments --- const int *segtyp, const int *ntags, const int *tags, const int *ngeom, const double *geom, const int *nlntp, const int *lntp, --- returned arguments --- int *ifail ); Open hierarchical segment.
PK_SESSION_ask_fru_o_t
PK_SESSION_frustrum_t
PK_SESSION_register_fru_o_t
The arguments have the following significance :-
segtyp: type of segment
'segtyp' - the type of the segment; one of the following values
SGTPBY = 2003; --- body
SGTPED = 2006; --- edge
SGTPSI = 2007; --- silhouette
SGTPPH = 2008; --- planar hatch-line
SGTPRH = 2009; --- radial hatch-line
SGTPPL = 2012; --- parametric hatch-line
SGTPFA = 2017; --- face
SGTPGC = 2019; --- geometry ... curve
SGTPGS = 2020; --- geometry ... surface
SGTPIC = 2026; --- interference curve
SGTPCL = 2027; --- clip curve
SGTPSF = 2028; --- sharp-mfin polyline
SGTPFI = 2029; --- additional face facetted by incremental
facetting
SGTPLI = 2030; --- geometry ... irregular lattice
ntags, tags: tags associated with segment
'ntags', 'tags' - an array of tags associated with the segment.
The tags given depend upon the segment type as follows:
SGTPBY --- tag of body
SGTPED --- tag of edge
SGTPSI/SGTPPH/SGTPRH/SGTPPL/SGTPSF --- tag of face
SGTPFA --- tag of face
SGTPGC --- tag of curve
SGTPGS --- tag of surface
SGTPFI --- tag of incremental face
SGTPLI --- tag of lattice
ngeom, geom: geometry of segment
'ngeom', 'geom' - an array of reals giving the geometry of the segment.
The geometry given depends upon the segment type as follows:
SGTPBY
- model space box of the body: given as two vectors:
(xmin, ymin, zmin), (xmax, ymax, zmax).
SGTPED/SGTPSI/SGTPPH/SGTPRH/SGTPPL/SGTPIC/SGTPCL/SGTPSF
- no geometry returned
SGTPFA/SGTPFI
- model space box of the face: given same as a body box.
SGTPGC
- model space box of the curve
SGTPGS
- model space box of the surface
SGTPLI
- model space box of the lattice
nlntp, lntp: type of geometry and other codes
'nlntp', 'lntp' - an array of integers.
lntp[0] - Occurrence number of the entity from which the segment
was derived.
lntp[1] - If segtyp is SGTPSI then this is a silhouette label.
If segtyp is SGTPFI this is the reason for the additional
face needing to be facetted under incremental facetting and
can take one of the following values:
ERIFRM = 4012; --- required missing face
ERIFRR = 4013; --- required due to refinement
ifail:
'ifail' - a code indicating whether the Frustrum wants
to abort graphic output.
One of the values:
CONTIN = 0; --- Continue: no errors
ABORT = -1011; --- Abort: return control to caller