lsst.sphgeom gdcc65144bf+d801c9999e
Loading...
Searching...
No Matches
lsst.sphgeom._continue_class Namespace Reference

Classes

class  Region
class  Circle
class  Box
class  ConvexPolygon

Functions

bool _isAttributeSafeToTransfer (str name, typing.Any value)
 _continueClass (cls)
float _inf_to_limit (float value, float min, float max)
float _inf_to_lat (float lat)
float _inf_to_lon (float lat)

Variables

 _INTRINSIC_SPECIAL_ATTRIBUTES

Detailed Description

Extend any of the C++ Python classes by adding additional methods.

Function Documentation

◆ _inf_to_lat()

float _inf_to_lat ( float lat)
protected
Map latitude +Inf to +90 and -Inf to -90 degrees.

◆ _inf_to_limit()

float _inf_to_limit ( float value,
float min,
float max )
protected
Map a value to a fixed range if infinite.

◆ _inf_to_lon()

float _inf_to_lon ( float lat)
protected
Map longitude +Inf to +360 and -Inf to 0 degrees.

Variable Documentation

◆ _INTRINSIC_SPECIAL_ATTRIBUTES

lsst.sphgeom._continue_class._INTRINSIC_SPECIAL_ATTRIBUTES
protected
Initial value:
= frozenset(
(
"__qualname__",
"__module__",
"__metaclass__",
"__dict__",
"__weakref__",
"__class__",
"__subclasshook__",
"__name__",
"__doc__",
)
)