Package | Description |
---|---|
org.apache.commons.geometry.euclidean.twod |
This package provides basic 2D geometry components.
|
org.apache.commons.geometry.euclidean.twod.shape |
This package provides utilities for constructing basic 2D shapes.
|
Modifier and Type | Method and Description |
---|---|
Parallelogram |
Bounds2D.toRegion(Precision.DoubleEquivalence precision)
Return a hyperplane-bounded region containing the same points as this instance.
|
Modifier and Type | Method and Description |
---|---|
static Parallelogram |
Parallelogram.axisAligned(Vector2D a,
Vector2D b,
Precision.DoubleEquivalence precision)
Return a new instance representing an axis-aligned rectangle.
|
Parallelogram |
Parallelogram.Builder.build()
Build a new parallelogram instance with the values configured in this builder.
|
static Parallelogram |
Parallelogram.fromTransformedUnitSquare(Transform<Vector2D> transform,
Precision.DoubleEquivalence precision)
Create a new instance by transforming a unit square centered at the origin.
|
static Parallelogram |
Parallelogram.unitSquare(Precision.DoubleEquivalence precision)
Return a new instance representing a unit square centered on the origin.
|
Copyright © 2016–2021 The Apache Software Foundation. All rights reserved.