Anark Core SDK
Loading...
Searching...
No Matches
Anark.CoreSdkApi.Math.Sdk2DBoundingBox Class Reference

More...

Inheritance diagram for Anark.CoreSdkApi.Math.Sdk2DBoundingBox:
Anark.CoreSdkApi.Math.ISdk2DBoundingBox

Public Member Functions

 Sdk2DBoundingBox (ISdkVertex2D min, ISdkVertex2D max)
 Create a bounding box from 2 points.

Static Public Member Functions

static ISdk2DBoundingBox CreateBoundingBox (IEnumerable< ISdk2DGeometryGroup > geometryGroups)
 Create a new bounding box from a collection of geometry groups.

Properties

ISdkVertex2D Min [get]
 The first point.
ISdkVertex2D Max [get]
 The second point on the diagonal corner to the first point.
double Size [get]
 The bounding box diagonal size.
double Width [get]
 The box width.
double Height [get]
 The box height.

Detailed Description

Constructor & Destructor Documentation

◆ Sdk2DBoundingBox()

Anark.CoreSdkApi.Math.Sdk2DBoundingBox.Sdk2DBoundingBox ( ISdkVertex2D min,
ISdkVertex2D max )
inline

Create a bounding box from 2 points.

Parameters
minPoint 1
maxPoint 2

Member Function Documentation

◆ CreateBoundingBox()

ISdk2DBoundingBox Anark.CoreSdkApi.Math.Sdk2DBoundingBox.CreateBoundingBox ( IEnumerable< ISdk2DGeometryGroup > geometryGroups)
inlinestatic

Create a new bounding box from a collection of geometry groups.

Parameters
geometryGroupsThe geometry to examine.
Returns
A new bounding box.

Property Documentation

◆ Height

double Anark.CoreSdkApi.Math.Sdk2DBoundingBox.Height
get

The box height.

Implements Anark.CoreSdkApi.Math.ISdk2DBoundingBox.

◆ Max

ISdkVertex2D Anark.CoreSdkApi.Math.Sdk2DBoundingBox.Max
get

The second point on the diagonal corner to the first point.

Implements Anark.CoreSdkApi.Math.ISdk2DBoundingBox.

◆ Min

ISdkVertex2D Anark.CoreSdkApi.Math.Sdk2DBoundingBox.Min
get

The first point.

Implements Anark.CoreSdkApi.Math.ISdk2DBoundingBox.

◆ Size

double Anark.CoreSdkApi.Math.Sdk2DBoundingBox.Size
get

The bounding box diagonal size.

Implements Anark.CoreSdkApi.Math.ISdk2DBoundingBox.

◆ Width

double Anark.CoreSdkApi.Math.Sdk2DBoundingBox.Width
get

The box width.

Implements Anark.CoreSdkApi.Math.ISdk2DBoundingBox.