Click or drag to resize

AngularDimensionCreate Method (DimensionStyle, Line, Point3d, Line, Point3d, Point3d, Boolean)

The angle between the lines is dimensioned. If the lines intersect in a single point, that point is used as the center of the angular dimension arc.In this case, there are eight possible angles to dimension.The pointOnAngularDimensionArc and pointOnLine parameters are used to select the correct angle to dimension. If a pointOnLine parameter is not set, the corresponding line's midpoint is used. If the lines are colinear, the point on the line closest to pointOnAngularDimensionArc is the center of the angular dimension arc.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 8.0
Syntax
public static AngularDimension Create(
	DimensionStyle dimStyle,
	Line line1,
	Point3d pointOnLine1,
	Line line2,
	Point3d pointOnLine2,
	Point3d pointOnAngularDimensionArc,
	bool bSetExtensionPoints
)

Parameters

dimStyle
Type: Rhino.DocObjectsDimensionStyle
Dimension style.
line1
Type: Rhino.GeometryLine
The first line.
pointOnLine1
Type: Rhino.GeometryPoint3d
If specified, indicates which semi-infinite portion of line1 to dimension. Otherwise the midpoint of line1 as a segment is used. When in doubt, use Point3d.Unset.
line2
Type: Rhino.GeometryLine
The second line.
pointOnLine2
Type: Rhino.GeometryPoint3d

[Missing <param name="pointOnLine2"/> documentation for "M:Rhino.Geometry.AngularDimension.Create(Rhino.DocObjects.DimensionStyle,Rhino.Geometry.Line,Rhino.Geometry.Point3d,Rhino.Geometry.Line,Rhino.Geometry.Point3d,Rhino.Geometry.Point3d,System.Boolean)"]

pointOnAngularDimensionArc
Type: Rhino.GeometryPoint3d
A point on the interior of the angular dimension arc.
bSetExtensionPoints
Type: SystemBoolean
If bSetExtensionPoints is true, and a pointOnLine parameter is valid, that point is used as the extension point. Otherwise the angular dimension arc endpoint is used.

Return Value

Type: AngularDimension
The angular dimension if successful, null otherwise.
See Also