Aardvark.Base


Quad2d

A two-dimensional quadrangle specified by its four points.

Constructors

ConstructorDescription
new(p0, p1, p2, p3)
Signature: (p0:V2d * p1:V2d * p2:V2d * p3:V2d) -> unit

Creates quad from 4 points.

new(points)
Signature: points:IEnumerable<V2d> -> unit

Creates quad from first 4 points in the sequence.

new(p0, edge01, edge03)
Signature: (p0:V2d * edge01:V2d * edge03:V2d) -> unit

Creates quad from point and two vectors representing edges.

Instance members

Instance memberDescription
Area
Signature: float
BoundingBox2d
Signature: Box2d
Modifiers: abstract
Copy(point_copyFun)
Signature: point_copyFun:Func<V2d,V2d> -> Quad2d
Edge01
Signature: V2d
Edge03
Signature: V2d
Edge10
Signature: V2d
Edge12
Signature: V2d
Edge21
Signature: V2d
Edge23
Signature: V2d
Edge30
Signature: V2d
Edge32
Signature: V2d
EdgeArray
Signature: V2d []
EdgeLineArray
Signature: Line2d []
EdgeLines
Signature: IEnumerable<Line2d>
Edges
Signature: IEnumerable<V2d>
Equals(other)
Signature: other:obj -> bool
Modifiers: abstract
GetEdge(index)
Signature: index:int -> V2d
GetEdgeLine(index)
Signature: index:int -> Line2d
GetHashCode()
Signature: unit -> int
Modifiers: abstract
IsDegenerated
Signature: bool
IsInvalid
Signature: bool
Modifiers: abstract
IsValid
Signature: bool
Modifiers: abstract
[()]
Signature: unit -> int
Modifiers: abstract
Line01
Signature: Line2d
Line03
Signature: Line2d
Line10
Signature: Line2d
Line12
Signature: Line2d
Line21
Signature: Line2d
Line23
Signature: Line2d
Line30
Signature: Line2d
Line32
Signature: Line2d
PointCount
Signature: int
Modifiers: abstract
Points
Signature: IEnumerable<V2d>
Reversed
Signature: Quad2d
ToQuad3d(point_copyFun)
Signature: point_copyFun:Func<V2d,V3d> -> Quad3d
ToString()
Signature: unit -> string
Modifiers: abstract
WindingOrder
Signature: float

Returns a value less than zero for ccw and greater than zero for cw. The magnitude magnitude is twice the area.

Static members

Static memberDescription
Parse(s)
Signature: s:string -> Quad2d
Fork me on GitHub