Click or drag to resize

LinearDimensionCreate Method

Initialize Dimension parameters

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static LinearDimension Create(
	AnnotationType dimtype,
	DimensionStyle dimStyle,
	Plane plane,
	Vector3d horizontal,
	Point3d defpoint1,
	Point3d defpoint2,
	Point3d dimlinepoint,
	double rotationInPlane
)

Parameters

dimtype
Type: Rhino.GeometryAnnotationType
AnnotationType.Rotated or AnnotationType.Aligned
dimStyle
Type: Rhino.DocObjectsDimensionStyle
Dimension's DimensionStyle
plane
Type: Rhino.GeometryPlane
Dimension's plane
horizontal
Type: Rhino.GeometryVector3d
Horizontal reference direction
defpoint1
Type: Rhino.GeometryPoint3d
First definition point
defpoint2
Type: Rhino.GeometryPoint3d
Second definition point
dimlinepoint
Type: Rhino.GeometryPoint3d
Point on dimension line
rotationInPlane
Type: SystemDouble
For Rotated style

Return Value

Type: LinearDimension

[Missing <returns> documentation for "M:Rhino.Geometry.LinearDimension.Create(Rhino.Geometry.AnnotationType,Rhino.DocObjects.DimensionStyle,Rhino.Geometry.Plane,Rhino.Geometry.Vector3d,Rhino.Geometry.Point3d,Rhino.Geometry.Point3d,Rhino.Geometry.Point3d,System.Double)"]

Version Information

Rhino for Windows

Supported in: 6.15
See Also