std-pointp-p


Synopsis

(std-pointp <pt>) ; a 2D or 3D point?

(std-2dpointp <pt>) ; a 2D point?

(std-3dpointp <pt>) ; a 3D point?

Description

These are predicates if the expression is a valid point, a list of 2-3 numbers.

A 2D point is a list of 2 numbers, a 3D point is a list of 3 numbers, a point either a 2D or 3D point.

Note

(STD-POINTP ele) should not be used for a POINT entity!

You have to use (STD-ENTITY-TYPE-P ele "POINT") instead

Arguments

pt: Any expression, but T will only be returned if it's a list of numbers.

Return Value

T or nil.

Side Effects

None.

Module

(std-require 'STDPOINT)

Defined in STDPOINT

Note: before version 0.4001 it was in STDENT!