HiddenLineDrawingParameters

References
Input used for computing a hidden line drawing

Constructors

HiddenLineDrawingParameters

#Since v6.0
public HiddenLineDrawingParameters()
default constructor

Properties

AbsoluteTolerance

#Since v6.0
public double AbsoluteTolerance { get; set; }
Absolute tolerance is used to decide if curves overlap or intersect. A suggested value is to use RhinoDoc.AbsoluteTolerance

Flatten

#Since v6.0
public bool Flatten { get; set; }
Flatten the computed geometry

IncludeHiddenCurves

#Since v6.0
public bool IncludeHiddenCurves { get; set; }
Include hidden curves in hidden line drawing (default is true)

IncludeTangentEdges

#Since v6.0
public bool IncludeTangentEdges { get; set; }
Include tangent edges in hidden line drawing (default is true)

IncludeTangentSeams

#Since v6.0
public bool IncludeTangentSeams { get; set; }
Include tangent seams in hidden line drawing (default is true)

OccludingSectionOption

#Since v8.0
public bool OccludingSectionOption { get; set; }
Enable occluding section option (default is false)

Methods

AddClippingPlane

#Since v6.0
public void AddClippingPlane(Plane plane)
Specify clipping planes that are active for this view.
plane (Plane)

AddGeometry

#Since v6.0
public bool AddGeometry(GeometryBase geometry, object tag, bool occluding_sections)
Add geometry that should be included in the calculation
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
true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported

AddGeometry

#Since v6.0
public bool AddGeometry(GeometryBase geometry, object tag)
Add geometry that should be included in the calculation
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
true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported

AddGeometry

#Since v6.0
public bool AddGeometry(GeometryBase geometry, Transform xform, object tag, bool occluding_sections)
Add geometry that should be included in the calculation
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
true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported

AddGeometry

#Since v6.0
public bool AddGeometry(GeometryBase geometry, Transform xform, object tag)
Add geometry that should be included in the calculation
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
true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported

AddGeometryAndPlanes

#Since v6.0
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
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
true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported

AddGeometryAndPlanes

#Since v6.0
public bool AddGeometryAndPlanes(GeometryBase geometry, object tag, List<Plane> clips)
Add geometry and its active clipping planes to be included in the calculation
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
true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported

AddGeometryAndPlanes

#Since v6.0
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
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
true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported

AddGeometryAndPlanes

#Since v6.0
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
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
true if the type of geometry can be added for calculations. Currently only points, point clouds, curves, meshes, breps, surfaces, and extrusions are supported

SetViewport

#Since v6.0
public void SetViewport(RhinoViewport viewport)
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.
viewport (RhinoViewport)A copy of rhinoViewport is made inside of HiddenLineDrawing.
True if the viewport has been set.

SetViewport

#Since v6.0
public void SetViewport(ViewportInfo viewport)
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.
viewport (ViewportInfo)A copy of viewportInfo is made inside of HiddenLineDrawing.
True if the viewport has been set.