HiddenLineDrawingObjectCurve

References
public sealed class HiddenLineDrawingObjectCurve
Curves generated from source objects which correspond to edges, and silhouettes of source objects and intersections with cutting planes. A HiddenLineDrawingObjectCurve is partitioned into hidden and visible segments called HiddenLineDrawingSegment

Properties

ClippingPlaneIndex

#Since v6.0
public int ClippingPlaneIndex { get; }
Index into HiddenLineDrawing.ClippingPlanes when SilhouetteType == SilhouetteType.SectionCut.

Index

#Since v6.0
public int Index { get; }
Index of this object in HiddenLineDrawing.FullCurves.

IsProjecting

#Since v6.0
public bool IsProjecting { get; }
Returns true if all the non clipped portions of this curve are projecting.

IsValid

#Since v6.0
public bool IsValid { get; }
Verifies the object is valid.

OriginalDomainStart

#Since v6.0
public double OriginalDomainStart { get; }
Initialized to RhinoMath.UnsetValue. Valid if the full curve is closed. Rejoin can reparameterize the curve by moving the seam. When this has been done the original domain start is stored here.

Parameters

#Since v6.0
public double[] Parameters { get; }
Increasing, partition of curve.Domain.

Segments

#Since v6.0
public HiddenLineDrawingSegment[] Segments { get; }
The HiddenLineDrawingCurve objects that make up this full curve.

SilhouetteType

#Since v6.0
public SilhouetteType SilhouetteType { get; }
The silhouette event type

SourceObject

#Since v6.0
public HiddenLineDrawingObject SourceObject { get; }
Return the source object that this curve came from

SourceObjectComponentIndex

#Since v6.0
public ComponentIndex SourceObjectComponentIndex { get; }
Component of source object part that generated this curve.

Methods

Curve

#Since v6.0
public HiddenLineDrawingSegment Curve(double t, int side)
Returns the HiddenLineDrawingCurve object containing parameter 't'.
t (double)The parameter.
side (int)Determines which side to return at breakpoints, where: 0 - default, <0 - curve that contains an interval [t-, t], for some t- < t, >0 - curve that contains an interval [t, t+], for some t+ > t.
The HiddenLineDrawingCurve object if successful.

Curve

#Since v6.0
Returns the HiddenLineDrawingCurve object containing parameter 't'.
t (double)The parameter.
The HiddenLineDrawingCurve object if successful.