nwn-lib-d ~master (2021-09-04T14:13:39Z)
Dub
Repo
Chains
nwnlibd
geometry
Useful for assembling a multi-vertex line from 2-point segments
pure
struct
Chains (
T
) {
import
std
.
container
.
dlist
:
DList
;
;
import
std
.
array
:
array
;
;
import
std
.
algorithm
:
reverse
,
remove
;
;
import
std
.
algorithm
:
reverse
,
remove
;
;
alias
Chain
=
DList
!
T
;
Chain
[]
chains
;
void
extend
(T[] newChain);
string
toString
();
}
Alias This
chains
Members
Aliases
Chain
alias
Chain
=
DList
!
T
Undocumented in source.
Functions
extend
void
extend
(T[] newChain)
Undocumented in source. Be warned that the author may not have intended to support it.
toString
string
toString
()
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
chains
Chain
[]
chains
;
Undocumented in source.
Meta
Source
See Implementation
nwnlibd
geometry
functions
distance
getAltitudeOnPlane
getLineIntersection
getSegmentIntersection
isPointInsidePolygon
isPointLeftOfLine
isPolygonComplex
isTriangleClockwise
signedArea
toVec2f
toVec3f
structs
Chains
Useful for assembling a multi-vertex line from 2-point segments