मुख्य सामग्री पर जाएँ

raygeo.sketch.snap.producers

CentersProducer​

produce()​

produce(
registry: registry.EntityRegistry,
_drag_position: tuple[float, float],
drag_context: types.DragContext,
_threshold: float,
) -> list[types.SnapLine]
ParameterTypeDescription
registryregistry.EntityRegistry
_drag_positiontuple[float, float]
drag_contexttypes.DragContext
_thresholdfloat
Returnslist[types.SnapLine]

produce_points()​

produce_points(
registry: registry.EntityRegistry,
drag_position: tuple[float, float],
drag_context: types.DragContext,
threshold: float,
) -> list[types.SnapPoint]
ParameterTypeDescription
registryregistry.EntityRegistry
drag_positiontuple[float, float]
drag_contexttypes.DragContext
thresholdfloat
Returnslist[types.SnapPoint]

EntityPointsProducer​

produce()​

produce(
registry: registry.EntityRegistry,
_drag_position: tuple[float, float],
drag_context: types.DragContext,
_threshold: float,
) -> list[types.SnapLine]
ParameterTypeDescription
registryregistry.EntityRegistry
_drag_positiontuple[float, float]
drag_contexttypes.DragContext
_thresholdfloat
Returnslist[types.SnapLine]

produce_points()​

produce_points(
registry: registry.EntityRegistry,
drag_position: tuple[float, float],
drag_context: types.DragContext,
threshold: float,
) -> list[types.SnapPoint]
ParameterTypeDescription
registryregistry.EntityRegistry
drag_positiontuple[float, float]
drag_contexttypes.DragContext
thresholdfloat
Returnslist[types.SnapPoint]

EquidistantLinesProducer​

produce()​

produce(
_registry: registry.EntityRegistry,
_drag_position: tuple[float, float],
_drag_context: types.DragContext,
_threshold: float,
) -> list[types.SnapLine]
ParameterTypeDescription
_registryregistry.EntityRegistry
_drag_positiontuple[float, float]
_drag_contexttypes.DragContext
_thresholdfloat
Returnslist[types.SnapLine]

produce_points()​

produce_points(
registry: registry.EntityRegistry,
drag_position: tuple[float, float],
drag_context: types.DragContext,
threshold: float,
) -> list[types.SnapPoint]
ParameterTypeDescription
registryregistry.EntityRegistry
drag_positiontuple[float, float]
drag_contexttypes.DragContext
thresholdfloat
Returnslist[types.SnapPoint]

IntersectionsProducer​

produce()​

produce(
registry: registry.EntityRegistry,
_drag_position: tuple[float, float],
drag_context: Any,
_threshold: float,
) -> list[types.SnapLine]
ParameterTypeDescription
registryregistry.EntityRegistry
_drag_positiontuple[float, float]
drag_contextAny
_thresholdfloat
Returnslist[types.SnapLine]

produce_points()​

produce_points(
registry: registry.EntityRegistry,
drag_position: tuple[float, float],
drag_context: Any,
threshold: float,
) -> list[types.SnapPoint]
ParameterTypeDescription
registryregistry.EntityRegistry
drag_positiontuple[float, float]
drag_contextAny
thresholdfloat
Returnslist[types.SnapPoint]

MidpointsProducer​

produce()​

produce(
_registry: registry.EntityRegistry,
_drag_position: tuple[float, float],
_drag_context: types.DragContext,
_threshold: float,
) -> list[types.SnapLine]
ParameterTypeDescription
_registryregistry.EntityRegistry
_drag_positiontuple[float, float]
_drag_contexttypes.DragContext
_thresholdfloat
Returnslist[types.SnapLine]

produce_points()​

produce_points(
registry: registry.EntityRegistry,
drag_position: tuple[float, float],
drag_context: types.DragContext,
threshold: float,
) -> list[types.SnapPoint]
ParameterTypeDescription
registryregistry.EntityRegistry
drag_positiontuple[float, float]
drag_contexttypes.DragContext
thresholdfloat
Returnslist[types.SnapPoint]

OnEntityProducer​

produce()​

produce(
_registry: registry.EntityRegistry,
_drag_position: tuple[float, float],
_drag_context: types.DragContext,
_threshold: float,
) -> list[types.SnapLine]
ParameterTypeDescription
_registryregistry.EntityRegistry
_drag_positiontuple[float, float]
_drag_contexttypes.DragContext
_thresholdfloat
Returnslist[types.SnapLine]

produce_points()​

produce_points(
registry: registry.EntityRegistry,
drag_position: tuple[float, float],
drag_context: types.DragContext,
threshold: float,
) -> list[types.SnapPoint]
ParameterTypeDescription
registryregistry.EntityRegistry
drag_positiontuple[float, float]
drag_contexttypes.DragContext
thresholdfloat
Returnslist[types.SnapPoint]