# Auxiliary Geometry Inquiries

Structures:
sd-am-center-line-settings-struct
sd-am-symmetry-line-settings-struct
sd-am-center-line-struct
sd-am-symmetry-line-struct

Predicates:
sd-am-center-line-p
sd-am-symmetry-line-p

Inquiries:
sd-am-inq-curr-center-line-settings
sd-am-inq-curr-symmetry-line-settings
sd-am-inq-center-line
sd-am-inq-symmetry-line

## SD-AM-CENTER-LINE-SETTINGS-STRUCT  [structure]

(sd-am-center-line-settings-struct-p          sd-am-center-line-settings-struct)
(sd-am-center-line-settings-struct-abs-offset sd-am-center-line-settings-struct)
(sd-am-center-line-settings-struct-rel-offset sd-am-center-line-settings-struct)
(sd-am-center-line-settings-struct-color      sd-am-center-line-settings-struct)
(sd-am-center-line-settings-struct-line-type  sd-am-center-line-settings-struct)
(sd-am-center-line-settings-struct-pen-size   sd-am-center-line-settings-struct)
Description:
A Lisp structure containing specific center line settings.

Slots:
abs-offset {LONG-FLOAT} - The absolute center line offset to the circle.
rel-offset {LONG-FLOAT} - The center line offset relative to the circle radius.
color {GPNT3D} - R,G,B color vector.
linetype {FIXNUM} - The line type index.
pen-size {LONG-FLOAT} - The pen size.

SD-AM-INQ-CURR-CENTER-LINE-SETTINGS [function]

## SD-AM-SYMMETRY-LINE-SETTINGS-STRUCT  [structure]

(sd-am-symmetry-line-settings-struct-p         sd-am-symmetry-line-settings-struct)
(sd-am-symmetry-line-settings-struct-offset    sd-am-symmetry-line-settings-struct)
(sd-am-symmetry-line-settings-struct-color     sd-am-symmetry-line-settings-struct)
(sd-am-symmetry-line-settings-struct-line-type sd-am-symmetry-line-settings-struct)
(sd-am-symmetry-line-settings-struct-pen-size  sd-am-symmetry-line-settings-struct)
Description:
A Lisp structure containing specific symmetry line settings.

Slots:
offset {LONG-FLOAT} - The absolute symmetry line offset to the geometry.
color {GPNT3D} - R,G,B color vector.
linetype {SYMBOL} - The line type.
pen-size {LONG-FLOAT} - The pen size.

SD-AM-INQ-CURR-SYMMETRY-LINE-SETTINGS [function]

## SD-AM-CENTER-LINE-STRUCT  [structure]

(sd-am-center-line-struct-p          sd-am-center-line-struct)
(sd-am-center-line-struct-center     sd-am-center-line-struct)
(sd-am-center-line-struct-start-pnt1 sd-am-center-line-struct)
(sd-am-center-line-struct-end-pnt1   sd-am-center-line-struct)
(sd-am-center-line-struct-start-pnt2 sd-am-center-line-struct)
(sd-am-center-line-struct-end-pnt2   sd-am-center-line-struct)
Description:
A Lisp structure specifying a center line.

Slots:
center {GPNT2D} - The center point.
start-pnt1 {GPNT2D} - The start point of the first cross line.
end-pnt1 {GPNT2D} - The end point of the first cross line.
start-pnt2 {GPNT2D} - The start point of the second cross line.
end-pnt2 {GPNT2D} - The end point of the second cross line.

SD-AM-INQ-CENTER-LINE [function]

## SD-AM-SYMMETRY-LINE-STRUCT  [structure]

(sd-am-symmetry-line-struct-p         sd-am-symmetry-line-struct)
(sd-am-symmetry-line-struct-type      sd-am-symmetry-line-struct)
(sd-am-symmetry-line-struct-start-ang sd-am-symmetry-line-struct)
(sd-am-symmetry-line-struct-end-ang   sd-am-symmetry-line-struct)
(sd-am-symmetry-line-struct-center    sd-am-symmetry-line-struct)
(sd-am-symmetry-line-struct-start-pnt sd-am-symmetry-line-struct)
(sd-am-symmetry-line-struct-end-pnt   sd-am-symmetry-line-struct)
Description:
A Lisp structure specifying a symmetry line.

Slots:
type {KEYWORD} - The type, either :LINEAR or :CIRCULAR.
center {GPNT2D} - The center point (circular type only).
start-ang {LONG-FLOAT} - The start angle (circular type only).
end-ang {LONG-FLOAT} - The end angle (circular type only).
start-pnt {GPNT2D} - The start point.
end-pnt {GPNT2D} - The end point.

SD-AM-INQ-SYMMETRY-LINE [function]

## SD-AM-CENTER-LINE-P  [function]

(sd-am-center-line-p item)

Description:
Predicate to determine whether or not an item is a center line.

Parameters:
item {SEL_ITEM} - The item to inquire.

Return Value:
t - The item is a center line.
nil - The item is not a center line.

## SD-AM-SYMMETRY-LINE-P  [function]

(sd-am-symmetry-line-p item)

Description:
Predicate to determine whether or not an item is a symmetry line.

Parameters:
item {SEL_ITEM} - The item to inquire.

Return Value:
t - The item is a symmetry line.
nil - The item is not a symmetry line.

## SD-AM-INQ-CURR-CENTER-LINE-SETTINGS  [function]

(sd-am-inq-curr-center-line-settings)

Description:
Returns a structure containing the current center line settings.

Parameters:
Return Value:
{ SD-AM-CENTER-LINE-SETTINGS-STRUCT} - The inquired settings.
nil - An error occured.

## SD-AM-INQ-CURR-SYMMETRY-LINE-SETTINGS  [function]

(sd-am-inq-curr-symmetry-line-settings)

Description:
Returns a structure containing the current symmetry line settings.

Parameters:
Return Value:
{ SD-AM-SYMMETRY-LINE-SETTINGS-STRUCT} - The inquired settings.
nil - An error occured.
-------------------------------------------------------------------------------

## SD-AM-INQ-CENTER-LINE  [function]

(sd-am-inq-center-line item)

Description:
Returns a structure specifing a given center line item.

Parameters:
item {SEL_ITEM} - The center line to inquire.

Return Value:
{ SD-AM-CENTER-LINE-STRUCT} - The inquired data.
nil - An error occured.

## SD-AM-INQ-SYMMETRY-LINE  [function]

(sd-am-inq-symmetry-line item)

Description:
Returns a structure specifing a given symmetry line item.

Parameters:
item {SEL_ITEM} - The symmetry line to inquire.

Return Value:
{ SD-AM-SYMMETRY-LINE-STRUCT} - The inquired data.
nil - An error occured.