Show / Hide Table of Contents

Struct Omnitree.Vector<A1, A2>

Represents a 2D vector.

Namespace: Towel.DataStructures
Assembly: Towel.dll
Syntax
public struct Vector<A1, A2>
Type Parameters
Name Description
A1

The generic type of the 1 dimension.

A2

The generic type of the 2 dimension.

Constructors

| Improve this Doc View Source

Vector(A1, A2)

A location along each axis.

Declaration
public Vector(A1 axis1, A2 axis2)
Parameters
Type Name Description
A1 axis1

The location along axis 1.

A2 axis2

The location along axis 2.

Fields

| Improve this Doc View Source

Axis1

The value along axis 1.

Declaration
public A1 Axis1
Field Value
Type Description
A1
| Improve this Doc View Source

Axis2

The value along axis 2.

Declaration
public A2 Axis2
Field Value
Type Description
A2

Properties

| Improve this Doc View Source

Default

Returns a vector with defaulted values.

Declaration
public static Omnitree.Vector<A1, A2> Default { get; }
Property Value
Type Description
Omnitree.Vector<A1, A2>
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX