Skip to main content

Function: isProjectedPointVisible()

isProjectedPointVisible(point): boolean

Defined in: src/mobjects/geo/projections.ts:59

Test whether a projected point is mappable (both coordinates finite).

Projections return [NaN, NaN] for a point they cannot place, so callers use this to skip back-facing vertices instead of letting NaN leak into geometry.

Parameters​

point​

[number, number]

A projected [x, y] point.

Returns​

boolean

true when both coordinates are finite.