[Integration Kit Contents] [Integration Kit What's New] [Integration Kit Function Index] [More Documentation] [PTC]

Geometry Inquiries

Structures:
sd-am-geo-attributes-struct
sd-am-line-struct
sd-am-arc-struct
sd-am-circle-struct
sd-am-bspline-struct
sd-am-constr-line-struct
sd-am-constr-circle-struct

Predicates:
sd-am-geometry-p
sd-am-construction-geometry-p

Inquiries:
sd-am-inq-curr-geometry-attributes
sd-am-inq-geometry-attributes
sd-am-inq-specific-geo-props

Linetype

The line type definition for 2D geometry. Must be one of the following keywords:

:SOLID
:DOTTED
:DASHED
:LONG_DASHED
:DOT_CENTER
:DASH_CENTER
:CENTER_DASH_DASH
:PHANTOM

Function Index Top of Page

SD-AM-GEO-ATTRIBUTES-STRUCT  [structure]

(sd-am-geo-attributes-struct-p        sd-am-geo-attributes-struct)
(sd-am-geo-attributes-struct-color    sd-am-geo-attributes-struct)
(sd-am-geo-attributes-struct-linetype sd-am-geo-attributes-struct)
Description:
A Lisp structure containing generic geometry attributes.

Slots:
color {GPNT3D} - R,G,B color vector.
linetype {SYMBOL} - geometry linetype.

See Also:
SD-AM-INQ-CURR-GEOMETRY-ATTRIBUTES [function]

Function Index Top of Page

SD-AM-LINE-STRUCT  [structure]

(sd-am-line-struct-p         sd-am-line-struct)
(sd-am-line-struct-start-pnt sd-am-line-struct)
(sd-am-line-struct-end-pnt   sd-am-line-struct)
Description:
A Lisp structure containing specific line data.

Slots:
start-pnt {GPNT2D} - Coordinates of the line start point.
end-pnt {GPNT2D} - Coordinates of the line end point.

See Also:
SD-AM-INQ-SPECIFIC-GEO-PROPS [function]

Function Index Top of Page

SD-AM-ARC-STRUCT  [structure]

(sd-am-arc-struct-p         sd-am-arc-struct)
(sd-am-arc-struct-center    sd-am-arc-struct)
(sd-am-arc-struct-start-ang sd-am-arc-struct)
(sd-am-arc-struct-end-ang   sd-am-arc-struct)
(sd-am-arc-struct-start-pnt sd-am-arc-struct)
(sd-am-arc-struct-end-pnt   sd-am-arc-struct)
(sd-am-arc-struct-radius    sd-am-arc-struct)
Description:
A Lisp structure containing specific arc data.

Slots:
center {GPNT2D} - Coordinates of the arc's center.
start-ang {LONG-FLOAT} - The start angle of the arc.
end-ang {LONG-FLOAT} - The end angle of the arc.
start-pnt {GPNT2D} - The start point of the arc.
end-pnt {GPNT2D} The end point of the arc.
radius {LONG-FLOAT} - The radius of the arc in system units.

See Also:
SD-AM-INQ-SPECIFIC-GEO-PROPS [function]

Function Index Top of Page

SD-AM-CIRCLE-STRUCT  [structure]

(sd-am-circle-struct-p       sd-am-circle-struct)
(sd-am-circle-struct-center  sd-am-circle-struct)
(sd-am-circle-struct-per-pnt sd-am-circle-struct)
(sd-am-circle-struct-radius  sd-am-circle-struct)
Description:
A Lisp structure containing specific circle data.

Slots:
center {GPNT2D} - Coordinates of the circle's center.
per-pnt {GPNT2D} - A peripheral circle point.
radius {LONG-FLOAT} - The radius of the circle in system units.

See Also:
SD-AM-INQ-SPECIFIC-GEO-PROPS [function]

Function Index Top of Page

SD-AM-BSPLINE-STRUCT  [structure]

(sd-am-bspline-struct-p             sd-am-bspline-struct)
(sd-am-bspline-struct-start-pnt     sd-am-bspline-struct)
(sd-am-bspline-struct-end-pnt       sd-am-bspline-struct)
(sd-am-bspline-struct-order         sd-am-bspline-struct)
(sd-am-bspline-struct-length        sd-am-bspline-struct)
(sd-am-bspline-struct-num-ctrl-pnts sd-am-bspline-struct)
(sd-am-bspline-struct-num-int-pnts  sd-am-bspline-struct)
(sd-am-bspline-struct-num-knots     sd-am-bspline-struct)
(sd-am-bspline-struct-ctrl-pnts     sd-am-bspline-struct)
(sd-am-bspline-struct-int-pnts      sd-am-bspline-struct)
(sd-am-bspline-struct-knots         sd-am-bspline-struct)
(sd-am-bspline-struct-closed-flag   sd-am-bspline-struct)
Description:
A Lisp structure containing specific bspline data.

Slots:
start-pnt {GPNT2D} - Coordinates of the bspline start point.
end-pnt {GPNT2D} - Coordinates of the bspline end point.
order {INTEGER} - The bspline order.
length {LONG-FLOAT} - The bspline length.
num-ctrl-pnts {INTEGER} - The number of control points.
num-int-pnts {INTEGER} - The number of interpolation points.
num-knots {INTEGER} - The number of knots.
ctrl-pnts {LIST of GPNT2Ds} - The list containing the control points.
int-pnts {LIST of GPNT2Ds} - The list containing the interpolation points.
knots {LIST of LONG-FLOATs} - The list containing the knots.
closed-flag {KEYWORD} - One of the following:
:OPEN
:CLOSED-NONPERIODIC
:CLOSED-PERIODIC

See Also:
SD-AM-INQ-SPECIFIC-GEO-PROPS [function]

Function Index Top of Page

SD-AM-CONSTR-LINE-STRUCT  [structure]

(sd-am-constr-line-struct-p      sd-am-constr-line-struct)
(sd-am-constr-line-struct-center sd-am-constr-line-struct)
(sd-am-constr-line-struct-angle  sd-am-constr-line-struct)
Description:
A Lisp structure containing specific construction line data.

Slots:
center {GPNT2D} - Coordinates of the construction line center point.
angle {LONG-FLOAT} - The construction line angle with the X axis.

See Also:
SD-AM-INQ-SPECIFIC-GEO-PROPS [function]

Function Index Top of Page

SD-AM-CONSTR-CIRCLE-STRUCT  [structure]

(sd-am-constr-circle-struct-p      sd-am-constr-circle-struct)
(sd-am-constr-circle-struct-center sd-am-constr-circle-struct)
(sd-am-constr-circle-struct-radius sd-am-constr-circle-struct)
Description:
A Lisp structure containing specific construction circle data.

Slots:
center {GPNT2D} - Coordinates of the circle's center.
radius {LONG-FLOAT} - The radius of the circle in system units.

See Also:
SD-AM-INQ-SPECIFIC-GEO-PROPS [function]

Function Index Top of Page

SD-AM-GEOMETRY-P  [function]

(sd-am-geometry-p)

Description:
Predicate to determine whether or not an element is a geometry element.

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

Return Value:
t - The element is a geometry element.
nil - The element is not a geometry element.

Function Index Top of Page

SD-AM-CONSTRUCTION-GEOMETRY-P  [function]

(sd-am-construction-geometry-p)

Description:
Predicate to determine whether or not an element is construction geometry.

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

Return Value:
t - The element is a construction geometry element.
nil - The element is not a construction geometry element.

Function Index Top of Page

SD-AM-INQ-CURR-GEOMETRY-ATTRIBUTES  [function]

(sd-am-inq-curr-geometry-attributes)

Description:
Inquire the current geometry attributes.

Parameters:
Return Value:
{ SD-AM-GEO-ATTRIBUTES-STRUCT} - The inquired attributes.
nil - An error occured.

Function Index Top of Page

SD-AM-INQ-GEOMETRY-ATTRIBUTES  [function]

(sd-am-inq-geometry-attributes item)

Description:
Inquire the geometry attributes of a geometry item.

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

Return Value:
{ SD-AM-GEO-ATTRIBUTES-STRUCT} - The inquired attributes.
nil - An error occured.

Function Index Top of Page

SD-AM-INQ-SPECIFIC-GEO-PROPS  [function]

(sd-am-inq-specific-geo-props item)

Description:
Returns specific geometric data describing a geometry item.

Parameters:
item {SEL_ITEM} - The element to inquire. Element may be a bspline, circle, arc, line or point.

Return Value:
{SD-AM-XXX-STRUCT} - A specific Lisp structure describing the geometry of the item, one of the following structures:
SD-AM-LINE-STRUCT
SD-AM-ARC-STRUCT
SD-AM-CIRCLE-STRUCT
SD-AM-BSPLINE-STRUCT
SD-AM-CONSTR-LINE-STRUCT
SD-AM-CONSTR-CIRCLE-STRUCT
{GPNT2D} - The point coordinates, if item is a point.
nil - An error occurred.
[Integration Kit Contents] [Integration Kit What's New] [Integration Kit Function Index] [More Documentation] [PTC]
© 2024 Parametric Technology GmbH
(a subsidiary of PTC Inc.), All Rights Reserved