Skip to content

RationalBoundary

Overview

A loop of rational half-edges

@author Jonathan Olson <jonathan.olson@colorado.edu>

Class RationalBoundary

import { RationalBoundary } from 'scenerystack/alpenglow';

Instance Methods

computeProperties()

containsPoint( point : BigRationalVector2 ) : boolean

toTransformedPolygon( matrix : Matrix3 ) : Vector2[]

toTransformedLinearEdges( matrix : Matrix3 ) : LinearEdge[]

Instance Properties

edges : RationalHalfEdge[]

(readonly)

signedArea : number

bounds : Bounds2

minimalXRationalPoint : BigRationalVector2

Source Code

See the source for RationalBoundary.ts in the alpenglow repository.