RebarShapeConstraintProjectedSegmentLength
Description:
A constraint that measures the length of a segment as measured by projecting onto a direction that is not parallel to the segment.
A constraint that measures the length of a segment as measured by projecting onto a direction that is not parallel to the segment.
Remarks:
The constraint has two references, indexed by 0 and 1, that do not have to correspond to the start and end of the segment. The constraint also specifies a direction as a 2D vector, which is not necessarily parallel to the segment, but must point from the segment's start toward its end.
The constraint has two references, indexed by 0 and 1, that do not have to correspond to the start and end of the segment. The constraint also specifies a direction as a 2D vector, which is not necessarily parallel to the segment, but must point from the segment's start toward its end.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.Structure.RebarShapeConstraint
Autodesk.Revit.DB.Structure.RebarShapeConstraintProjectedSegmentLength
System.Object
Autodesk.Revit.DB.Structure.RebarShapeConstraint
Autodesk.Revit.DB.Structure.RebarShapeConstraintProjectedSegmentLength
public class RebarShapeConstraintProjectedSegmentLength : RebarShapeConstraint
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| RebarShapeConstraintProjectedSegmentLength(ElementId, UV, Int32, RebarShapeSegmentEndReferenceType, RebarShapeSegmentEndReferenceType) | None | Constructs a new instance of a RebarConstraintProjectEdgedLength object using a shape parameter, direction, and reference types. |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | (Inherited from RebarShapeConstraint ) | RebarShapeConstraint |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetParamId() | ElementId | Return the Id of the parameter associated with this constraint. (Inherited from RebarShapeConstraint ) | RebarShapeConstraint |
| GetSegmentEndReferenceType(Int32) | RebarShapeSegmentEndReferenceType | Choice of two possibilities for the start and end references of the length constraint. | |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Direction | UV | A vector specifying the direction of the constraint. The direction is fixed, and the shape is always constructed so that the segment direction has a positive dot product with this vector. | |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. (Inherited from RebarShapeConstraint ) | RebarShapeConstraint |
| TripleProductSign | int | Sign of the z-coordinate of the cross product of the Direction property with the segment vector. TripleProductSign is 1 if the segment direction is to be on the left of the constraint direction, or -1 if the segment direction is to be on the right. |