 | RayTracingProbeCreate Method |
Create a new ray-tracing probe for the provided surfaces and
tessellation options.
Namespace: ema3d.Api.V25.Charging.ProbesAssembly: ema3d.Api.V25 (in ema3d.Api.V25.dll) Version: 0.0.0.0
Syntaxpublic static RayTracingProbe Create(
Document document = null,
ICollection<IHasTrimmedSurface> surfaces = null,
double addedThickness = 0,
double surfaceDeviation = 1,
double angleDeviation = 0.1,
double maxAspectRatio = 1,
double maxEdgeLength = 0.001
)
Public Shared Function Create (
Optional document As Document = Nothing,
Optional surfaces As ICollection(Of IHasTrimmedSurface) = Nothing,
Optional addedThickness As Double = 0,
Optional surfaceDeviation As Double = 1,
Optional angleDeviation As Double = 0.1,
Optional maxAspectRatio As Double = 1,
Optional maxEdgeLength As Double = 0.001
) As RayTracingProbe
public:
static RayTracingProbe^ Create(
Document^ document = nullptr,
ICollection<IHasTrimmedSurface^>^ surfaces = nullptr,
double addedThickness = 0,
double surfaceDeviation = 1,
double angleDeviation = 0.1,
double maxAspectRatio = 1,
double maxEdgeLength = 0.001
)
static member Create :
?document : Document *
?surfaces : ICollection<IHasTrimmedSurface> *
?addedThickness : float *
?surfaceDeviation : float *
?angleDeviation : float *
?maxAspectRatio : float *
?maxEdgeLength : float
(* Defaults:
let _document = defaultArg document null
let _surfaces = defaultArg surfaces null
let _addedThickness = defaultArg addedThickness 0
let _surfaceDeviation = defaultArg surfaceDeviation 1
let _angleDeviation = defaultArg angleDeviation 0.1
let _maxAspectRatio = defaultArg maxAspectRatio 1
let _maxEdgeLength = defaultArg maxEdgeLength 0.001
*)
-> RayTracingProbe
Parameters
- document Document (Optional)
- Document object to create probe in
- surfaces ICollectionIHasTrimmedSurface (Optional)
- Surfaces to assign to detector
- addedThickness Double (Optional)
- Virtual thickness to add to ray-tracing results
- surfaceDeviation Double (Optional)
- Maximum allowable deviation from a surface in the tessellation
- angleDeviation Double (Optional)
- Maximum allowable deviation of surface normal in the tessellation
- maxAspectRatio Double (Optional)
- Maximum allowable aspect ratio in the tessellation
- maxEdgeLength Double (Optional)
- Maximum allowable edge length in the tessellation
Return Value
RayTracingProbe
See Also