HE_Mesh2014  2.0.11
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Static Private Attributes | List of all members
wblut.geom.WB_Polygon Class Reference
+ Inheritance diagram for wblut.geom.WB_Polygon:

Public Member Functions

boolean equals (final Object o)
 
WB_GeometryType getType ()
 
int getNumberOfPoints ()
 
int getNumberOfShellPoints ()
 
int getNumberOfHoles ()
 
int getNumberOfContours ()
 
int[] getNumberOfPointsPerContour ()
 
int[][] getTriangles ()
 
int[][] getTriangles (final boolean optimize)
 
WB_Plane getPlane (final double d)
 
WB_Plane getPlane ()
 
WB_Vector getNormal ()
 
WB_SequencePoint getPoint (final int i)
 
double getd (final int i, final int j)
 
float getf (final int i, final int j)
 
boolean isSimple ()
 
WB_Polygon toPolygon2D ()
 
WB_Polygon negate ()
 
WB_Polygon[] splitPolygon (final WB_Plane P)
 
WB_Polygon trimConvexPolygon (final double d)
 
WB_Polygon trimConvexPolygon (final double[] d)
 
WB_Coordinate closestPoint (final WB_Coordinate p)
 
int closestIndex (final WB_Coordinate p)
 
List< WB_SegmenttoSegments ()
 
- Public Member Functions inherited from wblut.geom.WB_Ring
WB_SequenceVector getDirection (final int i)
 
WB_Vector getNormal (final int i)
 
double a (final int i)
 
double b (final int i)
 
double c (final int i)
 
double getLength (final int i)
 
boolean equals (final Object o)
 
WB_GeometryType getType ()
 
boolean isCCW ()
 
WB_Ring apply (final WB_Transform T)
 
WB_SequencePoint getPoint (final int i)
 
double getd (final int i, final int j)
 
float getf (final int i, final int j)
 
WB_Point getPointOnLine (final double t)
 
WB_Point getParametricPointOnLine (final double t)
 
int getNumberOfPoints ()
 
WB_Segment getSegment (final int i)
 
- Public Member Functions inherited from wblut.geom.WB_PolyLine
WB_SequencePoint getPoint (final int i)
 
double getd (final int i, final int j)
 
float getf (final int i, final int j)
 
WB_Point getPointOnLine (final double t)
 
WB_Point getParametricPointOnLine (final double t)
 
WB_SequenceVector getDirection (final int i)
 
WB_Vector getNormal (final int i)
 
double a (final int i)
 
double b (final int i)
 
double c (final int i)
 
int getNumberOfPoints ()
 
WB_Segment getSegment (final int i)
 
double getLength (final int i)
 
boolean equals (final Object o)
 
int hashCode ()
 
WB_GeometryType getType ()
 
WB_PolyLine apply (final WB_Transform T)
 
- Public Member Functions inherited from wblut.geom.WB_Geometry
WB_Geometry apply (WB_Transform T)
 

Static Public Member Functions

static WB_Polygon[] splitPolygon (final WB_Polygon poly, final WB_Plane P)
 
static WB_Polygon trimConvexPolygon (WB_Polygon poly, final double d)
 
static WB_Polygon trimConvexPolygon (WB_Polygon poly, final double[] d)
 

Protected Member Functions

 WB_Polygon (final Collection<?extends WB_Coordinate > points)
 
 WB_Polygon (final WB_Coordinate...points)
 
 WB_Polygon (final WB_CoordinateSequence points)
 
 WB_Polygon (final Collection<?extends WB_Coordinate > points, final Collection<?extends WB_Coordinate > innerpoints)
 
 WB_Polygon (final WB_Coordinate[] points, final WB_Coordinate[] innerpoints)
 
 WB_Polygon (final Collection<?extends WB_Coordinate > points, final List<?extends WB_Coordinate >[] innerpoints)
 
 WB_Polygon (final WB_Coordinate[] points, final WB_Coordinate[][] innerpoints)
 
- Protected Member Functions inherited from wblut.geom.WB_Ring
 WB_Ring ()
 
 WB_Ring (final List<?extends WB_Coordinate > points)
 
 WB_Ring (final WB_Coordinate[] points)
 
 WB_Ring (final WB_CoordinateSequence points)
 
- Protected Member Functions inherited from wblut.geom.WB_PolyLine
 WB_PolyLine ()
 
 WB_PolyLine (final Collection<?extends WB_Coordinate > points)
 
 WB_PolyLine (final WB_Coordinate[] points)
 
 WB_PolyLine (final WB_CoordinateSequence points)
 

Private Member Functions

void calculateDirections ()
 

Static Private Attributes

static final WB_GeometryFactory gf = WB_GeometryFactory.instance()
 

Additional Inherited Members

- Static Public Attributes inherited from wblut.geom.WB_Ring
static final WB_GeometryFactory geometryfactory
 
- Static Public Attributes inherited from wblut.geom.WB_PolyLine
static final WB_GeometryFactory geometryfactory
 
- Static Public Attributes inherited from wblut.geom.WB_Geometry
static final WB_GeometryFactory geometryfactory
 

Constructor & Destructor Documentation

wblut.geom.WB_Polygon.WB_Polygon ( final Collection<?extends WB_Coordinate points)
protected
Parameters
points
wblut.geom.WB_Polygon.WB_Polygon ( final WB_Coordinate...  points)
protected
Parameters
points
wblut.geom.WB_Polygon.WB_Polygon ( final WB_CoordinateSequence  points)
protected
Parameters
points
wblut.geom.WB_Polygon.WB_Polygon ( final Collection<?extends WB_Coordinate points,
final Collection<?extends WB_Coordinate innerpoints 
)
protected
Parameters
points
innerpoints
wblut.geom.WB_Polygon.WB_Polygon ( final WB_Coordinate[]  points,
final WB_Coordinate[]  innerpoints 
)
protected
Parameters
points
innerpoints
wblut.geom.WB_Polygon.WB_Polygon ( final Collection<?extends WB_Coordinate points,
final List<?extends WB_Coordinate >[]  innerpoints 
)
protected
Parameters
points
innerpoints
wblut.geom.WB_Polygon.WB_Polygon ( final WB_Coordinate[]  points,
final WB_Coordinate  innerpoints[][] 
)
protected
Parameters
points
innerpoints

Member Function Documentation

void wblut.geom.WB_Polygon.calculateDirections ( )
private
int wblut.geom.WB_Polygon.closestIndex ( final WB_Coordinate  p)
Parameters
p
Returns
WB_Coordinate wblut.geom.WB_Polygon.closestPoint ( final WB_Coordinate  p)
Parameters
p
Returns
boolean wblut.geom.WB_Polygon.equals ( final Object  o)
double wblut.geom.WB_Polygon.getd ( final int  i,
final int  j 
)
float wblut.geom.WB_Polygon.getf ( final int  i,
final int  j 
)
WB_Vector wblut.geom.WB_Polygon.getNormal ( )
Returns
int wblut.geom.WB_Polygon.getNumberOfContours ( )
Returns
int wblut.geom.WB_Polygon.getNumberOfHoles ( )
Returns
int wblut.geom.WB_Polygon.getNumberOfPoints ( )
int [] wblut.geom.WB_Polygon.getNumberOfPointsPerContour ( )
Returns
int wblut.geom.WB_Polygon.getNumberOfShellPoints ( )
Returns
WB_Plane wblut.geom.WB_Polygon.getPlane ( final double  d)
Parameters
d
Returns
WB_Plane wblut.geom.WB_Polygon.getPlane ( )
Returns
WB_SequencePoint wblut.geom.WB_Polygon.getPoint ( final int  i)
int [][] wblut.geom.WB_Polygon.getTriangles ( )
Returns
int [][] wblut.geom.WB_Polygon.getTriangles ( final boolean  optimize)
Parameters
optimize
Returns
WB_GeometryType wblut.geom.WB_Polygon.getType ( )
Returns

Implements wblut.geom.WB_Geometry.

boolean wblut.geom.WB_Polygon.isSimple ( )
Returns
WB_Polygon wblut.geom.WB_Polygon.negate ( )
Returns
static WB_Polygon [] wblut.geom.WB_Polygon.splitPolygon ( final WB_Polygon  poly,
final WB_Plane  P 
)
static
Parameters
poly
P
Returns
WB_Polygon [] wblut.geom.WB_Polygon.splitPolygon ( final WB_Plane  P)
Parameters
P
Returns
WB_Polygon wblut.geom.WB_Polygon.toPolygon2D ( )
Returns
List<WB_Segment> wblut.geom.WB_Polygon.toSegments ( )
Returns
static WB_Polygon wblut.geom.WB_Polygon.trimConvexPolygon ( WB_Polygon  poly,
final double  d 
)
static
Parameters
poly
d
Returns
WB_Polygon wblut.geom.WB_Polygon.trimConvexPolygon ( final double  d)
Parameters
d
Returns
static WB_Polygon wblut.geom.WB_Polygon.trimConvexPolygon ( WB_Polygon  poly,
final double[]  d 
)
static
Parameters
poly
d
Returns
WB_Polygon wblut.geom.WB_Polygon.trimConvexPolygon ( final double[]  d)
Parameters
d
Returns

Member Data Documentation

final WB_GeometryFactory wblut.geom.WB_Polygon.gf = WB_GeometryFactory.instance()
staticprivate

The documentation for this class was generated from the following file: