public class Polygon3D extends Plane3D
Constructor and Description |
---|
Polygon3D(List<Point3D> points)
Creates a new instance of Polygon3D
|
Modifier and Type | Method and Description |
---|---|
void |
checkNormal() |
List<Point3D> |
getClosedVertices() |
List<LineSegment3D> |
getEdges() |
Plane3D |
getPlane() |
List<Point3D> |
getVertices() |
int |
nSides() |
void |
reverseNormal() |
String |
toString() |
void |
transform(ITransform3D transform) |
Polygon3D |
transformed(ITransform3D transform) |
faceOutward, getDistance, getNormal
public int nSides()
public Plane3D getPlane()
public void checkNormal()
public void reverseNormal()
reverseNormal
in class Plane3D
public List<LineSegment3D> getEdges()
public void transform(ITransform3D transform)
transform
in interface Transformable
transform
in class Plane3D
public Polygon3D transformed(ITransform3D transform)
transformed
in interface Transformable
transformed
in class Plane3D
Copyright © 2016 Linear Collider Detector (LCD). All rights reserved.