Edge
nape.shape.Edge (final class)
Edge class providing internal details of Polygon.
Instance Members
@private
Reference to Polygon this Edge belongs to.
Normal of edge in local coordinates.
This Vec2 is immutable.
Normal of edge in world coordinates.
This Vec2 is immutable, and may be accessed even if the related Polygon
is not part of a Body but queries to its values will result in a debug
build error.
Length of edge.
Local projection of polygon onto edge axis.
World projection of polygon to edge axis.
This value can only be accessed if related Polygon is part of a Body.
Reference to first local vertex for edge.
Reference to second local vertex for edge.
Reference to first world vertex for edge.
Reference to second world vertex for edge.
@private
Returns |
---|
String |
@private
Private Members
Metadata
Name | Parameters |
---|---|
:final |
- |