
(/VERSIONCHECK 2) 

(DEFPARAMETER |PointCategory;CAT| 'NIL) 

(DEFPARAMETER |PointCategory;AL| 'NIL) 

(DEFUN |PointCategory| (#0=#:G1816)
  (LET (#1=#:G1817)
    (COND
      ((SETQ #1# (|assoc| #2=(|devaluate| #0#) |PointCategory;AL|))
       (CDR #1#))
      (T (SETQ |PointCategory;AL|
               (|cons5| (CONS #2# (SETQ #1# (|PointCategory;| #0#)))
                        |PointCategory;AL|))
         #1#)))) 

(DEFUN |PointCategory;| (|t#1|)
  (PROG (#0=#:G1815)
    (RETURN
      (PROG1 (LETT #0#
                   (|sublisV|
                       (PAIR '(|t#1|) (LIST (|devaluate| |t#1|)))
                       (COND
                         (|PointCategory;CAT|)
                         ('T
                          (LETT |PointCategory;CAT|
                                (|Join| (|VectorCategory| '|t#1|)
                                        (|mkCategory| '|domain|
                                         '(((|point|
                                             ($ (|List| |t#1|)))
                                            T)
                                           ((|dimension|
                                             ((|PositiveInteger|) $))
                                            T)
                                           ((|convert|
                                             ($ (|List| |t#1|)))
                                            T)
                                           ((|cross| ($ $ $)) T)
                                           ((|extend|
                                             ($ $ (|List| |t#1|)))
                                            T))
                                         NIL
                                         '((|List| |t#1|)
                                           (|PositiveInteger|))
                                         NIL))
                                . #1=(|PointCategory|))))) . #1#)
        (SETELT #0# 0 (LIST '|PointCategory| (|devaluate| |t#1|))))))) 
