ZOSAPI.Editors.NCE.IObjectSourcePoint Interface Reference
Last update: 17.07.2025
Inheritance diagram for ZOSAPI.Editors.NCE.IObjectSourcePoint:

Properties | |
| IEditorCell | ConeAngleCell [get] |
| double | ConeAngle [get, set] |
Properties inherited from ZOSAPI.Editors.NCE.IObjectSources | |
| IEditorCell | NumberOfLayoutRaysCell [get] |
| IEditorCell | NumberOfAnalysisRaysCell [get] |
| IEditorCell | PowerCell [get] |
| IEditorCell | WaveNumberCell [get] |
| IEditorCell | ColorNumberCell [get] |
| int | NumberOfLayoutRays [get, set] |
| int | NumberOfAnalysisRays [get, set] |
| double | Power [get, set] |
| int | WaveNumber [get, set] |
| int | ColorNumber [get, set] |
Properties inherited from ZOSAPI.Editors.NCE.IObject | |
| ObjectType | Type [get] |
| INCERow | Row [get] |
| bool | IsValid [get] |
| long | Id [get] |
Detailed Description
Usage (see Example 06 for a full sample)
C#
// modify object's cell values in the NCE
((IObjectSources)o1.ObjectData).NumberOfAnalysisRays = (int)1e6;
((IObjectSources)o1.ObjectData).NumberOfLayoutRays = 10;
((IObjectSourcePoint)o1.ObjectData).ConeAngle = 2.5;
o2.ZPosition = 1;
((IObjectDetectorRectangle)o2.ObjectData).XHalfWidth = 0.1;
((IObjectDetectorRectangle)o2.ObjectData).YHalfWidth = 0.1;
((IObjectDetectorRectangle)o2.ObjectData).NumberXPixels = 100;
((IObjectDetectorRectangle)o2.ObjectData).NumberYPixels = 100;
Definition: InterfacesNCE.cs:3274
Definition: InterfacesNCE.cs:4937
Definition: InterfacesNCE.cs:4712
C++
// modify object's cell values in the NCE
((IObjectSourcesPtr)o1->ObjectData)->NumberOfAnalysisRays = (int)1e6;
((IObjectSourcesPtr)o1->ObjectData)->NumberOfLayoutRays = 10;
((IObjectSourcePointPtr)o1->ObjectData)->ConeAngle = 2.5;
o2->ZPosition = 1;
((IObjectDetectorRectanglePtr)o2->ObjectData)->XHalfWidth = 0.1;
((IObjectDetectorRectanglePtr)o2->ObjectData)->YHalfWidth = 0.1;
((IObjectDetectorRectanglePtr)o2->ObjectData)->NumberXPixels = 100;
((IObjectDetectorRectanglePtr)o2->ObjectData)->NumberYPixels = 100;
Matlab
% modify object's cell values in the NCE
o1.ObjectData.NumberOfAnalysisRays = 1e6;
o1.ObjectData.NumberOfLayoutRays = 10;
o1.ObjectData.ConeAngle = 2.5;
o2.ZPosition = 1;
o2.ObjectData.XHalfWidth = 0.1;
o2.ObjectData.YHalfWidth = 0.1;
o2.ObjectData.NumberXPixels = 100;
o2.ObjectData.NumberYPixels = 100;
Python
# modify object's cell values in the NCE
o1.ObjectData.NumberOfAnalysisRays = 1e6
o1.ObjectData.NumberOfLayoutRays = 10
o1.ObjectData.ConeAngle = 2.5
o2.ZPosition = 1
o2.ObjectData.XHalfWidth = 0.1
o2.ObjectData.YHalfWidth = 0.1
o2.ObjectData.NumberXPixels = 100
o2.ObjectData.NumberYPixels = 100
Property Documentation
◆ ConeAngle
|
getset |
◆ ConeAngleCell
|
get |
Properties inherited from