Anark Core SDK
Loading...
Searching...
No Matches
Anark.CoreSdkApi.Entities.SdkAnnotationGeometry Class Reference

More...

Inheritance diagram for Anark.CoreSdkApi.Entities.SdkAnnotationGeometry:
Anark.CoreSdkApi.Entities.ISdkAnnotationGeometry Anark.CoreSdkApi.Entities.ISdkGeometry< TGroup, TPrimitive, TVertex >

Public Member Functions

 SdkAnnotationGeometry (IEnumerable< ISdk2DGeometryGroup > geometry)
 Create a new geometry object.
ISdkAnnotationGeometry CreateTransformedGeometry (ISdkVector2D translationVector)
 Transform the geometry by applying a 2D translation vector.
Parameters
translationVectorThe translation to apply.
Returns
New geometry.

ISdkAnnotationGeometry CreateScaledGeometry (ISdkVector2D scaleVector)
 Scale the geometry in the X and Y directions separately.
Parameters
scaleVectorThe scale to apply in each direction.
Returns
New geometry.

ISdkAnnotationGeometry CreateScaledGeometry (double scale)
 Scale the geometry in the X and Y directions simultaneously.
Parameters
scaleThe scale to apply.
Returns
New geometry.

Properties

IEnumerable< ISdk2DGeometryGroupGeometry [get]
 The geometry groups that define the object or sub-section of the object.
ISdk2DBoundingBox BoundingBox [get]
 The geometry bounding box.
double Height [get]
 The height of the geometry.
double Width [get]
 The width of the geometry.

Detailed Description

Constructor & Destructor Documentation

◆ SdkAnnotationGeometry()

Anark.CoreSdkApi.Entities.SdkAnnotationGeometry.SdkAnnotationGeometry ( IEnumerable< ISdk2DGeometryGroup > geometry)
inline

Create a new geometry object.

Parameters
geometryThe geometry groups that define the annotation geometry object.

Member Function Documentation

◆ CreateScaledGeometry() [1/2]

ISdkAnnotationGeometry Anark.CoreSdkApi.Entities.SdkAnnotationGeometry.CreateScaledGeometry ( double scale)
inline

Scale the geometry in the X and Y directions simultaneously.

Parameters
scaleThe scale to apply.
Returns
New geometry.

Implements Anark.CoreSdkApi.Entities.ISdkAnnotationGeometry.

◆ CreateScaledGeometry() [2/2]

ISdkAnnotationGeometry Anark.CoreSdkApi.Entities.SdkAnnotationGeometry.CreateScaledGeometry ( ISdkVector2D scaleVector)
inline

Scale the geometry in the X and Y directions separately.

Parameters
scaleVectorThe scale to apply in each direction.
Returns
New geometry.

Implements Anark.CoreSdkApi.Entities.ISdkAnnotationGeometry.

◆ CreateTransformedGeometry()

ISdkAnnotationGeometry Anark.CoreSdkApi.Entities.SdkAnnotationGeometry.CreateTransformedGeometry ( ISdkVector2D translationVector)
inline

Transform the geometry by applying a 2D translation vector.

Parameters
translationVectorThe translation to apply.
Returns
New geometry.

Implements Anark.CoreSdkApi.Entities.ISdkAnnotationGeometry.

Property Documentation

◆ BoundingBox

ISdk2DBoundingBox Anark.CoreSdkApi.Entities.SdkAnnotationGeometry.BoundingBox
get

The geometry bounding box.

◆ Geometry

IEnumerable<ISdk2DGeometryGroup> Anark.CoreSdkApi.Entities.SdkAnnotationGeometry.Geometry
get

The geometry groups that define the object or sub-section of the object.

Implements Anark.CoreSdkApi.Entities.ISdkGeometry< TGroup, TPrimitive, TVertex >.

◆ Height

double Anark.CoreSdkApi.Entities.SdkAnnotationGeometry.Height
get

The height of the geometry.

Implements Anark.CoreSdkApi.Entities.ISdkAnnotationGeometry.

◆ Width

double Anark.CoreSdkApi.Entities.SdkAnnotationGeometry.Width
get

The width of the geometry.

Implements Anark.CoreSdkApi.Entities.ISdkAnnotationGeometry.