Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

a5a02dbe bf57 ccd5 9a85 b3014c4fcd15

haplokuon edited this page May 6, 2023 · 1 revision

OrdinateDimension(Vector2, Vector2, Vector2) Constructor

netDxf 3.0.0 Library

Initializes a new instance of the OrdinateDimension class.

Definition

Namespace: netDxf.Entities
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public OrdinateDimension(
	Vector2 origin,
	Vector2 featurePoint,
	Vector2 leaderEndPoint
)

VB

Public Sub New ( 
	origin As Vector2,
	featurePoint As Vector2,
	leaderEndPoint As Vector2
)

C++

public:
OrdinateDimension(
	Vector2 origin, 
	Vector2 featurePoint, 
	Vector2 leaderEndPoint
)

F#

new : 
        origin : Vector2 * 
        featurePoint : Vector2 * 
        leaderEndPoint : Vector2 -> OrdinateDimension

Parameters

  Vector2
Origin point in local coordinates of the ordinate dimension.
  Vector2
Base location point in local coordinates of the ordinate dimension.
  Vector2
Leader end point in local coordinates of the ordinate dimension

Remarks

Uses the difference between the feature location and the leader endpoint to determine whether it is an X or a Y ordinate dimension. If the difference in the Y ordinate is greater, the dimension measures the X ordinate. Otherwise, it measures the Y ordinate.

See Also

Reference

OrdinateDimension Class
OrdinateDimension Overload
netDxf.Entities Namespace

Clone this wiki locally