HiddenLineDrawingParameters
ReferencesInput used for computing a hidden line drawing
Constructors
Properties
Absolute tolerance is used to decide if curves overlap or intersect. A suggested value is to use RhinoDoc.AbsoluteTolerance
Include tangent edges in hidden line drawing (default is true)
Include tangent seams in hidden line drawing (default is true)
Methods
Specify clipping planes that are active for this view.
Parameters:
| plane (Plane) |
Add geometry that should be included in the calculation
Parameters:
| geometry (GeometryBase) | Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported |
| tag (object) | arbitrary data to be associated with this geometry |
| occluding_sections (bool) | sections of this geometry occlude |
Returns: true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported
Add geometry that should be included in the calculation
Parameters:
| geometry (GeometryBase) | Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported |
| tag (object) | arbitrary data to be associated with this geometry |
Returns: true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported
public bool AddGeometry(GeometryBase geometry, Transform xform, object tag, bool occluding_sections)
Add geometry that should be included in the calculation
Parameters:
| geometry (GeometryBase) | Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported |
| xform (Transform) | |
| tag (object) | arbitrary data to be associated with this geometry |
| occluding_sections (bool) | sections of this geometry occlude |
Returns: true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported
Add geometry that should be included in the calculation
Parameters:
| geometry (GeometryBase) | Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported |
| xform (Transform) | |
| tag (object) | arbitrary data to be associated with this geometry |
Returns: true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported
public bool AddGeometryAndPlanes(GeometryBase geometry, object tag, bool occluding_sections, List<Plane> clips)
Add geometry and its active clipping planes to be included in the calculation
Parameters:
| geometry (GeometryBase) | Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported |
| tag (object) | arbitrary data to be associated with this geometry |
| occluding_sections (bool) | sections of this geometry occlude |
| clips (List<Plane>) | Active clipping planes for this object |
Returns: true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported
Add geometry and its active clipping planes to be included in the calculation
Parameters:
| geometry (GeometryBase) | Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported |
| tag (object) | arbitrary data to be associated with this geometry |
| clips (List<Plane>) | Active clipping planes for this object |
Returns: true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported
public bool AddGeometryAndPlanes(GeometryBase geometry, Transform xform, object tag, bool occluding_sections, List<Plane> clips)
Add geometry and its active clipping planes to be included in the calculation
Parameters:
| geometry (GeometryBase) | Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported |
| xform (Transform) | |
| tag (object) | arbitrary data to be associated with this geometry |
| occluding_sections (bool) | sections of this geometry occlude |
| clips (List<Plane>) | Active clipping planes for this object |
Returns: true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported
public bool AddGeometryAndPlanes(GeometryBase geometry, Transform xform, object tag, List<Plane> clips)
Add geometry and its active clipping planes to be included in the calculation
Parameters:
| geometry (GeometryBase) | Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported |
| xform (Transform) | |
| tag (object) | arbitrary data to be associated with this geometry |
| clips (List<Plane>) | Active clipping planes for this object |
Returns: true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported
Set the viewport for the hidden line drawing (HLD). The viewport supplies the projection that determines the visibility of curves, and the HLD coordinate system in which the resulting curves are represented. The HLD-coordinate system is a right handed system for 3-D model space, in which the 3rd coordinate direction is the projection direction. In particular the z-coordinate direction points from the scene toward the camera.
Parameters:
| viewport (RhinoViewport) | A copy of rhinoViewport is made inside of HiddenLineDrawing. |
Returns: True if the viewport has been set.
Set the viewport for the hidden line drawing (HLD). The viewport supplies the projection that determines the visibility of curves, and the HLD coordinate system in which the resulting curves are represented. The HLD-coordinate system is a right handed system for 3-D model space, in which the 3rd coordinate direction is the projection direction. In particular the z-coordinate direction points from the scene toward the camera.
Parameters:
| viewport (ViewportInfo) | A copy of viewportInfo is made inside of HiddenLineDrawing. |
Returns: True if the viewport has been set.