PK_GOCLSG_f_t   


typedef void (*PK_GOCLSG_f_t)(const int *segtyp,
                              const int *ntags, const int    *tags,
                              const int *ngeom, const double *geom,
                              const int *nlntp, const int    *lntp,
                                    int *ifail);



Close hierarchical segment.




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
    

    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   --- tag of face
          SGTPFA                        --- tag of face
          SGTPGC                        --- tag of curve
          SGTPGS                        --- tag of surface
    

    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
                - no geometry returned
            SGTPFA
                - 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.

    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] - silhouette label if segtyp is SGTPSI
    

    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
    


Generated on: Fri, 15 Dec 2023 13:16:50 GMT