std-arc-pt, std-arc-endpt


Synopsis

(std-arc-pt <ele>) ; arc startpoint

(std-arc-endpt <ele>) ; arc endpoint

Description

STD-ARC-PT returns the first point of an ARC entity. This will fail if the entity is no arc.

If it is an ARC it is the same as (STD-GETPT) only faster.

STD-ARC-ENDPT returns the end point of an ARC entity. This will fail if the entity is no arc.

If it is an ARC it is the same as (STD-GETENDPT) only faster.

It may be used with entity types, entget-lists or entsel picklists.

Note

The implementation calls STD-ENTGET on ename or entsel arguments which uses an entget caching mechanism, because ENTGET is usually slow. But this speed gain may fool return values on deleted entities.

Arguments

ele: An ARC entity of type ENAME, a entget-list or entsel picklist.

Return Value

Either a 3D point or nil.

Side Effects

None. It may set an internal *ENTGET-CACHE* symbol, but direct access is forbidden.

Module

(std-require 'STDENT)

Defined in STDENT