Click or drag to resize

SubDEdge Class

Single edge of a SubD
Inheritance Hierarchy
SystemObject
  Rhino.GeometrySubDComponent
    Rhino.GeometrySubDEdge

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public sealed class SubDEdge : SubDComponent

The SubDEdge type exposes the following members.

Properties
  NameDescription
Public propertyComponentDirection
True when this component is referenced with the reverse of its natural orientation. This is always false for vertices, and for edges and faces obtained directly from the parent SubD; it is only set on components reached through an oriented reference, such as the face on a given side of an oriented edge.
(Inherited from SubDComponent.)
Public propertyControlNetLine
Line representing the control net end points.
Public propertyFaceCount
Number of faces for this edge.
Public propertyId
Unique id within the parent SubD for this item
(Inherited from SubDComponent.)
Public propertyIsDamaged
Returns true if the SubD component is damaged.
(Inherited from SubDComponent.)
Public propertyIsDeleted
Returns true if the SubD component is deleted.
(Inherited from SubDComponent.)
Public propertyIsHidden
Returns true if the SubD component is hidden.
(Inherited from SubDComponent.)
Public propertyIsHighlighted
Returns true if the SubD component is highlighted.
(Inherited from SubDComponent.)
Public propertyIsLocked
Returns true if the SubD component is locked.
(Inherited from SubDComponent.)
Public propertyIsSelected
Returns true if the SubD component is selected.
(Inherited from SubDComponent.)
Public propertyIsSharp
Gets true if this edge is smooth and has a nonzero sharpness. A crease edge is not a sharp edge.
Public propertyParentSubD
SubD that this component belongs to
(Inherited from SubDComponent.)
Public propertyRelativeFaceLeft
The face on the left of this edge, with respect to the direction this edge is referenced with. Null for a boundary edge with no face on that side, and for a nonmanifold edge.
Public propertyRelativeFaceRight
The face on the right of this edge, with respect to the direction this edge is referenced with.
Public propertyRelativeVertexFrom
The vertex this edge starts at, taking ComponentDirection into account. This is VertexFrom for an edge in its natural orientation and VertexTo for a reversed one.
Public propertyRelativeVertexTo
The vertex this edge ends at, taking ComponentDirection into account.
Public propertySharpness
Gets or sets the sharpness of this edge.

The getter reports Crease for a crease edge; use GetSharpness(false) to get Smooth for creases instead.

Public propertyTag
identifies the type of subdivision edge.
Public propertyVertexFrom
Start vertex for this edge.
Public propertyVertexTo
End vertex for this edge.
Top
Methods
  NameDescription
Public methodClearSavedSubdivisionPoints
Discards the cached subdivision and surface points for this edge, so they are recomputed on next use.
Public methodComponentIndex
Gets the component index of this edge.
Public methodEndSharpness
Gets the sharpness of this edge at one of its ends.
Public methodEquals(Object)
Determines whether an object is a SubDComponent referring to the same component, with the same orientation, in the same SubD.
(Inherited from SubDComponent.)
Public methodEquals(SubDComponent)
Determines whether this component and another refer to the same component, with the same orientation, in the same SubD.
(Inherited from SubDComponent.)
Public methodFaceAt
Retrieve a SubDFace from this edge.
Public methodGetHashCode
Gets a hash code for this component.
(Inherited from SubDComponent.)
Public methodGetSharpness
Gets the sharpness of this edge, reporting Crease for a crease edge.
Public methodGetSharpness(Boolean)
Gets the sharpness of this edge.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRelativeFaceAt
Gets the face on one side of this edge, relative to the direction this edge is referenced with.
Public methodRelativeVertexAt
Gets one of this edge's two vertices, relative to the direction this edge is referenced with.
Public methodReverseComponentDirection
Flips ComponentDirection and returns this component, so it can be used inline where an oppositely oriented reference is wanted.
(Inherited from SubDComponent.)
Public methodToNurbsCurve
Get a cubic, uniform, non-rational, NURBS curve that is on the edge's limit curve.
Public methodToString
Returns a string of the form "SubDEdge(+12)", naming the component type, the orientation it is referenced with, and its id.
(Inherited from SubDComponent.)
Top
See Also