MCPcopy Create free account
hub / github.com/danieljfarrell/pvtrace / transmitted_direction

Method transmitted_direction

pvtrace/material/surface.py:58–76  ·  view source on GitHub ↗

Returns the transmitted direction vector (ix, iy, iz). Parameters ---------- surface: Surface The surface object owned by the material. ray: Ray The incident ray. geometry: Geometry

(
        self, surface, ray, geometry, container, adjacent
    )

Source from the content-addressed store, hash-verified

56
57 @abc.abstractmethod
58 def transmitted_direction(
59 self, surface, ray, geometry, container, adjacent
60 ) -> Tuple[float, float, float]:
61 """ Returns the transmitted direction vector (ix, iy, iz).
62
63 Parameters
64 ----------
65 surface: Surface
66 The surface object owned by the material.
67 ray: Ray
68 The incident ray.
69 geometry: Geometry
70 The geometry being hit.
71 container: Node
72 The node containing the incident ray.
73 adjacent: Node
74 The node that would contain the ray if transmitted.
75 """
76 pass
77
78
79class NullSurfaceDelegate(SurfaceDelegate):

Callers 1

transmitMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected