![]() |
Depiction Engine For Unity 2023.0 (Alpha)
|
Public Member Functions | |
bool | UpdateCircleGridProperties (Vector2Int gridDimensions, GeoCoordinate2Double geoCenter, GeoAstroObject parentGeoAstroObject, double radius, bool updateDerivedProperties=true) |
![]() | |
bool | UpdateGeometricGridFields (Vector2Int gridDimensions, GeoCoordinate2Double geoCenter, GeoAstroObject parentGeoAstroObject, bool updateDerivedProperties=true) |
![]() | |
void | Init (CameraGrid2D cameraGrid2D) |
Grid2D | IsInGrid (Vector2Int grid2DIndex, Vector2Int grid2DDimensions) |
bool | UpdateGridFields (Vector2Int gridDimensions, GeoCoordinate2Double geoCenter, bool updateDerivedProperties=true) |
override bool | UpdateGrid () |
void | IterateOverIndexes (Action< IGrid2D, GeoCoordinate2Double, Vector2Int, Vector2Int > callback) |
override void | Clear () |
![]() | |
virtual GridBase | Init () |
bool | SetEnabled (bool value) |
virtual bool | UpdateGrid () |
virtual void | Clear () |
bool | UpdateGrid () |
Grid2D | IsInGrid (Vector2Int grid2DIndex, Vector2Int grid2DDimensions) |
void | IterateOverIndexes (Action< IGrid2D, GeoCoordinate2Double, Vector2Int, Vector2Int > callback) |
Protected Member Functions | |
override bool | GetCornerFromIndex (ref Vector3Double corner, int i, double depthOffset=0.0d) |
override int | AddEdgeIntersections (ref List< Vector2Double > intersections, Vector2Int gridDimensions, Vector3Double center, double circleRadius, bool isSpherical) |
override bool | PointIsInside (Vector3Double point, bool isSpherical, double intersectionThreshod=0) |
![]() | |
virtual double | GetRotation () |
virtual bool | GetCornerFromIndex (ref Vector3Double corner, int i, double depthOffset=0.0d) |
override bool | UpdateDerivedProperties () |
override bool | UpdateGrid (Vector2Int gridDimensions) |
virtual bool | AddRangesToRow (int y, Vector2Int gridDimensions, bool isSpherical) |
virtual int | AddInnerIntersections (ref List< Vector2Double > intersections, Vector3Double gridYLocalPosition, bool isSpherical) |
virtual int | AddEdgeIntersections (ref List< Vector2Double > intersections, Vector2Int gridDimensions, Vector3Double center, double circleRadius, bool isSpherical) |
int | AddValidIntersections (ref List< Vector2Double > intersections, Vector2Int gridDimensions, Vector3Double[] points, bool isSpherical, bool inner=true, double intersectionThreshold=0.0d) |
int | AddValidIntersection (ref List< Vector2Double > intersections, Vector2Int gridDimensions, Vector3Double point, bool isSpherical, double intersectionThreshold=0.0d) |
virtual bool | PointIsInside (Vector3Double point, bool isSpherical, double intersectionThreshod=0.0d) |
![]() | |
Row | CreateRow (int y, int start, int end) |
Row | CreateRow (int y) |
void | SetRowStaticProperties () |
int | GetRowCount () |
Row | GetRow (int y, Vector2Int gridDimensions) |
void | AddRow (int y, Row value) |
void | IterateOverRows (Action< Row > callback) |
virtual bool | UpdateGrid (Vector2Int gridDimensions) |
override bool | UpdateDerivedProperties () |
virtual bool | UpdateDerivedProperties () |
Additional Inherited Members | |
![]() | |
double | _scaleFactor |
Vector3Double | _centerLocalPosition |
Matrix4x4Double | _geoAstroObjectToGridMatrix |
Matrix4x4Double | _gridToGeoAstroObjectMatrix |
QuaternionDouble | _gridRotation |
![]() | |
Vector2Double | _centerIndex |
Vector2Int | _centerIndexInt |
GeoCoordinate2Double | _geoCenter |
![]() | |
static readonly double | MIN_SIZE = 0.00000001d |
![]() | |
int | rowCount [get] |
Vector2Double | centerIndex [get] |
Vector2Int | grid2DDimensions [get] |
GeoCoordinate2Double | geoCenter [get] |
CameraGrid2D | cameraGrid2D [get] |
![]() | |
int | cascade [get, set] |
bool | enabled [get] |
bool | wasFirstUpdated [get] |
![]() | |
bool | wasFirstUpdated [get] |
![]() | |
GeoCoordinate2Double | geoCenter [get] |
|
protectedvirtual |
Reimplemented from DepictionEngine.GeometricGrid2D.
|
protectedvirtual |
Reimplemented from DepictionEngine.GeometricGrid2D.
|
protectedvirtual |
Reimplemented from DepictionEngine.GeometricGrid2D.