Skip to content
Shapemetry

@huukhanhnguyen/types / objects/angularDimension

objects/angularDimension

AngularDimension

AngularDimension = { arcPoint: Point; center: Point; references: Point[]; }

An angle measured at center, between the arms running out to references.

references is the same CHAIN as linear measure: N+1 arms give N measured angles, and every element has the same role.

arcPoint does two jobs that a bare radius number cannot: it sets the dimension arc's radius (its distance from center), and it picks WHICH of the four angles two crossing arms subtend is the one meant.

arcPoint

arcPoint: Point

center

center: Point

references

references: Point[]


AngularDimensionData

AngularDimensionData = { dimensions: AngularDimensionEntity[]; }

Object-tier angular-dimension datablock.

dimensions

dimensions: AngularDimensionEntity[]


AngularDimensionEntity

AngularDimensionEntity = AngularDimension & { attributes?: Record<string, unknown> | null; curves: PolyCurve[]; label?: Text; style: string; text?: string; textPoint?: Point; }

One angular dimension in a AngularDimensionData bag.


AngularDimensionInstance

AngularDimensionInstance = BaseInstance & { material?: string; }


AngularDimensionObject

AngularDimensionObject = BaseObject & { data: AngularDimensionData; instances: AngularDimensionInstance[]; type: "angularDimension"; }

An object whose data is angular dimensions and nothing else.

An angle has a vertex and two rays — the third arity.

Last updated: 📖 1 min readEdit on GitHub